Why BR-13 Fails
cbc:TaxExclusiveAmount (UBL) or ram:TaxBasisTotalAmount (CII) is absent from BG-22.
How to Fix BR-13
- Compute BT-109 = BT-106 (line sum) - BT-107 (allowances) + BT-108 (charges) and write it with 2 decimal places.
Document totals must declare BT-109 (TaxExclusiveAmount / TaxBasisTotalAmount).
cbc:TaxExclusiveAmount (UBL) or ram:TaxBasisTotalAmount (CII) is absent from BG-22.
<cac:LegalMonetaryTotal><!-- Missing TaxExclusiveAmount --></cac:LegalMonetaryTotal>
<cbc:TaxExclusiveAmount currencyID="EUR">100.00</cbc:TaxExclusiveAmount>
npx @cairnkithq/facturkite-cli validate invoice.xml --profile xrechnung-ubl --format sarif
cbc:TaxExclusiveAmount (UBL) or ram:TaxBasisTotalAmount (CII) is absent from BG-22.
Yes. Paste your XML or upload a Hybrid PDF in FacturKite's free workbench or run npx @cairnkithq/facturkite-cli validate invoice.xml locally to verify BR-13 deterministically.
Every EN 16931 invoice must declare a non-empty specification identifier (CustomizationID / GuidelineSpecifiedDocumentContextParameter).
An invoice must contain a unique, non-blank invoice identifier in BT-1.
An invoice must contain a valid calendar issue date formatted as YYYY-MM-DD (or CII format 102 YYYYMMDD).
An invoice must declare a valid UNTDID 1001 numeric document type code (e.g., 380 for commercial invoice, 381 for credit note).
Every invoice must carry a valid 3-letter ISO 4217 currency code in BT-5.
An invoice must contain the full legal name of the seller in BT-27.