Why BR-22 Fails
Missing or non-numeric InvoicedQuantity / BilledQuantity values break line net calculation.
How to Fix BR-22
- Provide a numeric decimal quantity in BT-129 using dot decimal notation (e.g., 2 or 2.5).
Each invoice line must declare a numeric invoiced quantity in BT-129.
Missing or non-numeric InvoicedQuantity / BilledQuantity values break line net calculation.
<cbc:InvoicedQuantity unitCode="C62"></cbc:InvoicedQuantity>
<cbc:InvoicedQuantity unitCode="C62">2</cbc:InvoicedQuantity>
npx @cairnkithq/facturkite-cli validate invoice.xml --profile xrechnung-ubl --format sarif
Missing or non-numeric InvoicedQuantity / BilledQuantity values break line net calculation.
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-22 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.