Why BR-CO-25 Fails
Invoices with a positive payable total leave both DueDate and PaymentTerms/Note empty.
How to Fix BR-CO-25
- Provide an ISO YYYY-MM-DD payment due date in BT-9, human-readable payment terms in BT-20, or both.
When the amount due for payment (BT-115) is positive (> 0), the invoice must include either a payment due date (BT-9) or payment terms (BT-20).
Invoices with a positive payable total leave both DueDate and PaymentTerms/Note empty.
<!-- PayableAmount > 0 with neither cbc:DueDate nor cac:PaymentTerms -->
<cbc:DueDate>2027-01-05</cbc:DueDate> <cac:PaymentTerms><cbc:Note>Payment due within 30 days net.</cbc:Note></cac:PaymentTerms>
npx @cairnkithq/facturkite-cli validate invoice.xml --profile xrechnung-ubl --format sarif
Invoices with a positive payable total leave both DueDate and PaymentTerms/Note empty.
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-CO-25 deterministically.
Every invoice line must declare a valid UNCL5305 VAT category code: S, Z, E, AE, K, G, O, L, or M.
BT-106 must equal the exact sum of all invoice line net amounts (BT-131) in integer cents.
BT-107 (AllowanceTotalAmount) must equal the exact sum of all document-level allowance amounts (BG-20).
BT-108 (ChargeTotalAmount) must equal the exact sum of all document-level charge amounts (BG-21).
BT-109 must equal BT-106 (line sum) minus BT-107 (allowances) plus BT-108 (charges).
BT-110 must equal the exact sum of VAT category tax amounts (BT-117), and each VAT breakdown taxable base (BT-116) must match the sum of lines and adjustments in that tax band.