EN 16931 and XRechnung validation rules, explained
A validator reported BR-CO-16 or BR-DE-15 and you need to know what it means? Here are the 190 rules the Docfaro validator checks, each on its own page: the official message, what it means in plain words, where the field sits in UBL and CII, and how to fix it.
No rule matches.
EN 16931 core rules (BR-01 to BR-65) (57)
Mandatory content and structure of every EN 16931 invoice.
- BR-01Specification identifier (BT-24) missing
- BR-02Invoice number missing
- BR-03Invoice issue date missing
- BR-04Invoice type code missing
- BR-05Invoice currency code missing
- BR-06Seller name missing
- BR-07Buyer name missing
- BR-08Seller postal address missing
- BR-09Seller country code missing
- BR-10Buyer postal address missing
- BR-11Buyer country code missing
- BR-12Sum of line net amounts missing
- BR-13Invoice total without VAT missing
- BR-14Invoice total with VAT missing
- BR-15Amount due for payment missing
- BR-16Invoice without an invoice line
- BR-17Payee name missing
- BR-18Tax representative name missing
- BR-19Tax representative address missing
- BR-20Tax representative country code missing
- BR-21Invoice line identifier missing
- BR-22Invoiced quantity missing
- BR-23Unit of measure code missing
- BR-24Invoice line net amount missing
- BR-25Item name missing
- BR-26Item net price missing
- BR-27Negative item net price
- BR-28Negative item gross price
- BR-29Invoicing period ends before it starts
- BR-30Line period ends before it starts
- BR-31Allowance amount missing
- BR-32VAT category of an allowance missing
- BR-33Allowance reason missing
- BR-36Charge amount missing
- BR-37VAT category of a charge missing
- BR-38Charge reason missing
- BR-41Line allowance amount missing
- BR-42Line allowance reason missing
- BR-43Line charge amount missing
- BR-44Line charge reason missing
- BR-45VAT taxable amount missing
- BR-46VAT tax amount missing
- BR-47VAT category code missing
- BR-48VAT category rate missing
- BR-49Payment means code missing
- BR-51Full card number in the invoiceWarning
- BR-52Supporting document reference missing
- BR-53VAT total in accounting currency missing
- BR-54Item attribute without name or value
- BR-55Preceding invoice number missing
- BR-56Tax representative VAT ID missing
- BR-57Deliver-to country code missing
- BR-61IBAN missing for credit transfer
- BR-62Seller electronic address without scheme
- BR-63Buyer electronic address without scheme
- BR-64Item standard identifier without scheme
- BR-65Item classification without scheme
Calculation and consistency rules (BR-CO) (15)
Totals that must add up and fields that must fit together.
- BR-CO-03VAT point date and date code both given
- BR-CO-04VAT category of a line missing
- BR-CO-09VAT ID without valid country prefix
- BR-CO-10Sum of line net amounts does not match
- BR-CO-11Sum of allowances does not match
- BR-CO-12Sum of charges does not match
- BR-CO-13Total without VAT does not add up
- BR-CO-14VAT total does not match the breakdown
- BR-CO-15Total with VAT does not add up
- BR-CO-16Amount due for payment does not add up
- BR-CO-17VAT amount is not taxable amount × rate
- BR-CO-18VAT breakdown missing
- BR-CO-19Invoicing period without a date
- BR-CO-20Line period without a date
- BR-CO-26Seller identifier, registration or VAT ID missingWarning
VAT category rules (BR-S, BR-Z, BR-E, BR-AE, BR-IC, BR-G, BR-O) (60)
What each VAT category code requires: breakdown, rates, tax IDs and exemption reasons.
- BR-AE-01Reverse charge (AE): needs exactly one VAT breakdown
- BR-AE-02Reverse charge (AE): seller or buyer VAT ID missing
- BR-AE-05Reverse charge (AE): invalid VAT rate on a line
- BR-AE-06Reverse charge (AE): invalid VAT rate on an allowance
- BR-AE-07Reverse charge (AE): invalid VAT rate on a charge
- BR-AE-08Reverse charge (AE): taxable amount does not match
- BR-AE-09Reverse charge (AE): VAT amount must be 0
- BR-AE-10Reverse charge (AE): exemption reason missing
- BR-E-01Exempt (E): needs exactly one VAT breakdown
- BR-E-02Exempt (E): seller VAT ID or tax number missing
- BR-E-05Exempt (E): invalid VAT rate on a line
- BR-E-06Exempt (E): invalid VAT rate on an allowance
- BR-E-07Exempt (E): invalid VAT rate on a charge
- BR-E-08Exempt (E): taxable amount does not match
- BR-E-09Exempt (E): VAT amount must be 0
- BR-E-10Exempt (E): exemption reason missing
- BR-G-01Export outside the EU (G): needs exactly one VAT breakdown
- BR-G-02Export outside the EU (G): seller VAT ID missing
- BR-G-05Export outside the EU (G): invalid VAT rate on a line
- BR-G-06Export outside the EU (G): invalid VAT rate on an allowance
- BR-G-07Export outside the EU (G): invalid VAT rate on a charge
- BR-G-08Export outside the EU (G): taxable amount does not match
- BR-G-09Export outside the EU (G): VAT amount must be 0
- BR-G-10Export outside the EU (G): exemption reason missing
- BR-IC-01Intra-community supply (K): needs exactly one VAT breakdown
- BR-IC-02Intra-community supply (K): seller or buyer VAT ID missing
- BR-IC-05Intra-community supply (K): invalid VAT rate on a line
- BR-IC-06Intra-community supply (K): invalid VAT rate on an allowance
- BR-IC-07Intra-community supply (K): invalid VAT rate on a charge
- BR-IC-08Intra-community supply (K): taxable amount does not match
- BR-IC-09Intra-community supply (K): VAT amount must be 0
- BR-IC-10Intra-community supply (K): exemption reason missing
- BR-IC-11Intra-community supply without delivery date
- BR-IC-12Intra-community supply without deliver-to country
- BR-O-01Not subject to VAT (O): needs exactly one VAT breakdown
- BR-O-02Not subject to VAT (O): VAT ID not allowed
- BR-O-05Not subject to VAT (O): invalid VAT rate on a line
- BR-O-06Not subject to VAT (O): invalid VAT rate on an allowance
- BR-O-07Not subject to VAT (O): invalid VAT rate on a charge
- BR-O-08Not subject to VAT (O): taxable amount does not match
- BR-O-09Not subject to VAT (O): VAT amount must be 0
- BR-O-10Not subject to VAT (O): exemption reason missing
- BR-O-11Other VAT categories next to “not subject to VAT”
- BR-O-12Line outside category O on a non-VAT invoice
- BR-S-01Standard rate (S): VAT breakdown line missing
- BR-S-02Standard rate (S): seller VAT ID or tax number missing
- BR-S-05Standard rate (S): invalid VAT rate on a line
- BR-S-06Standard rate (S): invalid VAT rate on an allowance
- BR-S-07Standard rate (S): invalid VAT rate on a charge
- BR-S-08Standard rate (S): taxable amount does not match
- BR-S-09Standard-rated VAT amount is wrong
- BR-S-10Standard rate (S): exemption reason not allowed
- BR-Z-01Zero rate (Z): needs exactly one VAT breakdown
- BR-Z-02Zero rate (Z): seller VAT ID or tax number missing
- BR-Z-05Zero rate (Z): invalid VAT rate on a line
- BR-Z-06Zero rate (Z): invalid VAT rate on an allowance
- BR-Z-07Zero rate (Z): invalid VAT rate on a charge
- BR-Z-08Zero rate (Z): taxable amount does not match
- BR-Z-09Zero rate (Z): VAT amount must be 0
- BR-Z-10Zero rate (Z): exemption reason not allowed
Code list rules (BR-CL) (8)
Codes must come from the lists EN 16931 prescribes.
Decimal places (BR-DEC) (18)
Amounts may have at most two decimals.
- BR-DEC-01More than two decimals in BT-92
- BR-DEC-02More than two decimals in BT-93
- BR-DEC-05More than two decimals in BT-99
- BR-DEC-06More than two decimals in BT-100
- BR-DEC-09More than two decimals in BT-106
- BR-DEC-10More than two decimals in BT-107
- BR-DEC-11More than two decimals in BT-108
- BR-DEC-12More than two decimals in BT-109
- BR-DEC-13More than two decimals in BT-110
- BR-DEC-14More than two decimals in BT-112
- BR-DEC-16More than two decimals in BT-113
- BR-DEC-17More than two decimals in BT-114
- BR-DEC-18More than two decimals in BT-115
- BR-DEC-19More than two decimals in BT-116
- BR-DEC-20More than two decimals in BT-117
- BR-DEC-23More than two decimals in BT-131
- BR-DEC-24More than two decimals in BT-136
- BR-DEC-27More than two decimals in BT-141
XRechnung rules (BR-DE, German CIUS) (32)
Extra rules for XRechnung, the German specification of EN 16931.
- BR-DE-1Payment instructions missing
- BR-DE-2Seller contact missing
- BR-DE-3Seller city missing
- BR-DE-4Seller post code missing
- BR-DE-5Seller contact point missing
- BR-DE-6Seller contact phone number missing
- BR-DE-7Seller contact e-mail missing
- BR-DE-8Buyer city missing
- BR-DE-9Buyer post code missing
- BR-DE-10Deliver-to city missing
- BR-DE-11Deliver-to post code missing
- BR-DE-14VAT rate missing in the VAT breakdown
- BR-DE-15Buyer reference (Leitweg-ID) missing
- BR-DE-16Seller VAT ID or tax number missing
- BR-DE-17Invoice type code not provided forWarning
- BR-DE-18Skonto (early-payment discount) format wrong
- BR-DE-19Invalid IBAN for SEPA credit transferWarning
- BR-DE-20Invalid IBAN for SEPA direct debitWarning
- BR-DE-21Not the XRechnung specification identifierWarning
- BR-DE-22Attachment file names not unique
- BR-DE-23-aAccount details missing for credit transfer
- BR-DE-23-bCard or direct debit data with credit transfer
- BR-DE-24-aCard data missing for card payment
- BR-DE-24-bTransfer or debit data with card payment
- BR-DE-25-aDirect debit data missing
- BR-DE-25-bTransfer or card data with direct debit
- BR-DE-26Corrected invoice without preceding invoiceWarning
- BR-DE-27Phone number with fewer than three digitsWarning
- BR-DE-28E-mail address not well-formedWarning
- BR-DE-30Creditor identifier missing for direct debit
- BR-DE-31Debited account missing for direct debit
- BR-DE-TMP-32Delivery or service date missingWarning
About these pages
Rule IDs and official messages come from the EN 16931 validation artefacts validation-1.3.16 and the XRechnung Schematron v2.6.0, the versions in KoSIT’s validator configuration for XRechnung 3.0.2. The explanations are Docfaro’s own. Rules the validator does not check, such as the XRechnung extension (BR-DEX) and the remaining EN 16931 rules, have no page here.
Sources
- EN 16931 validation artefacts validation-1.3.16CEN/TC 434 and European Commission, GitHub
- XRechnung Schematron v2.6.0KoSIT, GitHub
- Validator-Konfiguration XRechnung 3.0.2, Release 2026-08-31 (XSD UBL 2.1 und CII D16B, Schematron EN 16931 und XRechnung)KoSIT auf GitHub