fatal CII UBL
The VAT breakdown of your invoice uses category K (“Intra-community supply”: goods or services to a business in another EU country, VAT-exempt in the seller’s country), but the invoice gives neither an actual delivery date (BT-72) nor an invoicing period (BG-14). Fix: add the delivery date — UBL cac:Delivery/cbc:ActualDeliveryDate, CII ram:ActualDeliverySupplyChainEvent/ram:OccurrenceDateTime — or the invoicing period — UBL cac:InvoicePeriod with a start or end date, CII ram:BillingSpecifiedPeriod. Only you know the date, so this is not repaired automatically; the free check shows whether anything else is wrong. This is an error: the invoice is rejected until it is fixed.
This error needs information only you have, so it is not repaired automatically. The free check shows every finding in the file with its location; if other errors in the same file are in the automatic set (totals, VAT breakdown, rounding, element order), the result page offers the corrected file for 9 €.
[BR-IC-11]-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.
| Syntax | Severity | Context (XPath) | Test (XPath) |
|---|---|---|---|
| EN16931-UBL | fatal | /ubl:Invoice | /cn:CreditNote | (exists(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']/cbc:ID[normalize-space(.) = 'K']) and (string-length(cac:Delivery/cbc:ActualDeliveryDate) > 1 or (cac:InvoicePeriod/*))) or (not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']/cbc:ID[normalize-space(.) = 'K'])) |
| EN16931-CII | fatal | //rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax/ram:CategoryCode[.= 'K'][upper-case(../ram:TypeCode) = 'VAT'] | (/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ActualDeliverySupplyChainEvent/ram:OccurrenceDateTime/udt:DateTimeString) or (../../ram:BillingSpecifiedPeriod/ram:StartDateTime) or (../../ram:BillingSpecifiedPeriod/ram:EndDateTime) |
BG-23, BT-118, BT-72, BG-14
BR-AE-01, BR-CO-18, BR-E-01, BR-G-01, BR-IC-01, BR-IC-12, BR-IG-01, BR-IP-01, BR-O-01, BR-O-11, BR-O-12, BR-O-13
Source: EN 16931-1 Schematron, UN/CEFACT CII syntax binding (ConnectingEurope/eInvoicing-EN16931, EUPL-1.2).
Source: EN 16931-1 Schematron, UBL syntax binding (ConnectingEurope/eInvoicing-EN16931, EUPL-1.2).