In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Actual delivery date (BT-72) or the Invoicing period (BG-14) shall not be blank.
For the invoice with a category K VAT breakdown, both the actual delivery date in ActualDeliverySupplyChainEvent/OccurrenceDateTime/DateTimeString and a start or end date in BillingSpecifiedPeriod are missing. At least one of these date entries must be present.
For an intra-community supply, the invoice must state either the actual delivery date BT-72 or an invoicing period BG-14. This documents the timing of the delivery or billing.
The intra-community supply has no actual delivery date or invoicing period. You can update the invoice by entering at least one of these details.
- Enter either the actual delivery date in
ActualDeliverySupplyChainEvent/OccurrenceDateTime/DateTimeStringor a start or end date inBillingSpecifiedPeriod. - For the actual delivery date, check the
ActualDeliveryDateproperty. - Generate the invoice again and validate it.
<rsm:SupplyChainTradeTransaction> <ram:ApplicableHeaderTradeDelivery/> <ram:ApplicableHeaderTradeSettlement/> </rsm:SupplyChainTradeTransaction>
<rsm:SupplyChainTradeTransaction> <ram:ApplicableHeaderTradeDelivery> <ram:ActualDeliverySupplyChainEvent> <ram:OccurrenceDateTime> <udt:DateTimeString>20250115</udt:DateTimeString> </ram:OccurrenceDateTime> </ram:ActualDeliverySupplyChainEvent> </ram:ApplicableHeaderTradeDelivery> </rsm:SupplyChainTradeTransaction>
FacturXInvoice.ActualDeliveryDate(BT-72)TaxCategoryCodes(BT-118)FacturXInvoice.AddApplicableTradeTax(basisAmount, percent, taxAmount, typeCode, categoryCode, allowanceChargeBasisAmount, exemptionReasonCode, exemptionReason, lineTotalBasisAmount)(BG-23)FacturXInvoice.AnyApplicableTradeTaxes()(BG-23)FacturXInvoice.GetApplicableTradeTaxes()(BG-23)
Technical details
The test passes if DateTimeString for the actual delivery date, or StartDateTime or EndDateTime in BillingSpecifiedPeriod, is present.
The rule applies to a VAT breakdown ApplicableTradeTax with CategoryCode K and checks delivery or billing-period information at document level.
rule/@context)assert/@test)