An invoice should contain either BT-72 "Actual delivery date", BG-14 "Invoicing period" or, in every invoice line, BG-26 "Invoice line period" to indicate the delivery/performance date.
The transaction is missing one of the specified delivery or service timing details: ActualDeliverySupplyChainEvent/OccurrenceDateTime, a document-level BillingSpecifiedPeriod, or a BillingSpecifiedPeriod in every IncludedSupplyChainTradeLineItem.
The rule requires timing information that identifies when the delivery or service took place. This can be an actual date, a document-level billing period, or a period in every invoice line.
The invoice contains none of the checked details for when the delivery or service took place. You can provide an actual date or a relevant billing period.
- Provide the actual delivery date through
ActualDeliveryDateor addActualDeliverySupplyChainEvent/OccurrenceDateTime. - Alternatively, add a document-level
BillingSpecifiedPeriod. - If you use line-level periods, add
BillingSpecifiedPeriodto everyIncludedSupplyChainTradeLineItem. - Generate the invoice again and validate it once more.
FacturXInvoice.ActualDeliveryDate(BT-72)
Technical details
The XPath test accepts an actual delivery date, a document-level billing period, or periods in all IncludedSupplyChainTradeLineItem elements. The invoice-line check uses an every condition.
The rule applies to the entire SupplyChainTradeTransaction and considers date or period details at document level as well as periods in invoice lines.
rule/@context)assert/@test)