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.
The ram:BillingSpecifiedPeriod element is present, but neither ram:StartDateTime nor ram:EndDateTime is provided.
A provided billing period must be described by a start date, an end date, or both.
The billing period is present but has no start or end date. Provide at least one of the two dates.
- Check the existing
BillingSpecifiedPeriod. - Add
StartDateTime,EndDateTime, or both to it. - Check the mappings in
TradeLineItem.BillingPeriodStartandTradeLineItem.BillingPeriodEnd. - Generate the invoice again and validate it.
<ram:BillingSpecifiedPeriod/>
<ram:BillingSpecifiedPeriod> <ram:StartDateTime> <udt:DateTimeString format="102">20240101</udt:DateTimeString> </ram:StartDateTime> </ram:BillingSpecifiedPeriod>
TradeLineItem.BillingPeriodEnd(BT-135)TradeLineItem.BillingPeriodStart(BT-134)
Technical details
The test requires ram:StartDateTime or ram:EndDateTime to be present within the billing period.
The rule applies to the invoice line’s billing period ram:BillingSpecifiedPeriod.
rule/@context)assert/@test)