If Invoice line period (BG-26) is used, the Invoice line period start date (BT-134) or the Invoice line period end date (BT-135) shall be filled, or both.
ram:BillingSpecifiedPeriod is present but contains neither ram:StartDateTime nor ram:EndDateTime. At least one of these date elements must be provided.
When a billing period is used for an invoice line, it must contain at least a start date or an end date.
The billing period is included but has neither a start date nor an end date. Add at least one of the two dates.
- Add either
ram:StartDateTimeorram:EndDateTime, or both, toram:BillingSpecifiedPeriod. - Set the date through
TradeLineItem.BillingPeriodStartorTradeLineItem.BillingPeriodEnd. - Generate the invoice again and validate it once more.
<ram:BillingSpecifiedPeriod/>
<ram:BillingSpecifiedPeriod> <ram:StartDateTime/> </ram:BillingSpecifiedPeriod>
TradeLineItem.BillingPeriodEnd(BT-135)TradeLineItem.BillingPeriodStart(BT-134)
Technical details
The test requires either ram:StartDateTime or ram:EndDateTime to be present inside ram:BillingSpecifiedPeriod.
The rule applies to an invoice line’s billing period in ram:BillingSpecifiedPeriod.
rule/@context)assert/@test)