Reference
Markdown exportValid XRechnung UBL basic invoice
Happy-path UBL invoice with due-date/payment-term coverage and standard VAT totals.
Fixture metadata
- Format
XRechnung- Profile
EN 16931- Syntax
UBL 2.1 Invoice- Expected result
- Valid
- Covered BT and rule IDs
BT-1, BT-10, BT-20, BT-84, BR-CO-25, BR-S-08
What this tests
Happy-path UBL invoice with due-date/payment-term coverage and standard VAT totals.
A compact positive invoice with seller, buyer, line, VAT, payment terms, and payable amount.
Assertions to run
Use these points as the practical checks for this section.
- Validator should pass BR-CO-25 because both DueDate and PaymentTerms are present.
- TaxSubtotal taxable amount 100.00 plus VAT 19.00 should reconcile to PayableAmount 119.00.
- PaymentMeansCode 58 should expose BT-84 as a clean IBAN, not display text.