An XRechnung or Peppol BIS invoice that looks complete in your ERP can still fail the official validator. The rejection is almost always a named Schematron rule: a missing buyer reference, a payable amount that does not follow the EN 16931 formula, a dotted date, or a CustomizationID that no longer matches the CIUS you claim to send.

This article walks through ten findings that come up again and again in ERP exports and that we have written dedicated rule pages for. I am not attaching invented percentages to them; they are the errors our guides and support reviews keep coming back to. For each one you get the official rule text, a real UBL fragment in the broken and corrected form, and a link to the longer page.

The artefacts behind the messages are public:

A German version of this guide is at Die häufigsten XRechnung-Validierungsfehler. If you want a machine to stage the safe, deterministic fixes (dates, currency aliases, unit aliases, totals with your confirmation), use Fix XRechnung errors automatically. This is not tax advice.

# Rule Typical symptom
1 BR-DE-15 Missing buyer reference (BT-10)
2 BR-CO-16 Payable amount (BT-115) does not follow the formula
3 BR-CO-15 / BR-CO-14 Invoice total with VAT, or VAT total, does not add up
4 BR-CO-10 Sum of line net amounts does not match BT-106
5 BR-03 Missing or non-ISO issue date (BT-2)
6 BR-01 Missing or wrong specification identifier (BT-24)
7 PEPPOL-EN16931-R010 Buyer electronic address missing
8 BR-DE-18 Skonto line does not match the required pattern
9 BR-DE-2 Seller contact group (BG-6) missing
10 BR-S-01 Standard-rated lines without a matching VAT breakdown

1. BR-DE-15 — buyer reference (BT-10) is missing

Official rule text (KoSIT / XRechnung 3.0.2):

[BR-DE-15] Das Element "Buyer reference" (BT-10) muss übermittelt werden.

XRechnung requires BT-10 on every invoice. For a public buyer that value is usually the Leitweg-ID. For a private B2B buyer it can be an order number or another reference the buyer gave you — the rule does not say that a Leitweg-ID is mandatory in every B2B case, only that BT-10 must be present.

Before (the cbc:BuyerReference element is absent):

<cbc:ID>RE-2026-41</cbc:ID> <cbc:IssueDate>2026-12-01</cbc:IssueDate> <!-- no cbc:BuyerReference --> 

After:

<cbc:ID>RE-2026-41</cbc:ID> <cbc:IssueDate>2026-12-01</cbc:IssueDate> <cbc:BuyerReference>04011000-12345-03</cbc:BuyerReference> 

If the source document already has an order reference, many exporters can copy it into BT-10. If nothing in the file is safe to reuse, do not invent a Leitweg-ID — ask the buyer. Details: BR-DE-15.

2. BR-CO-16 — amount due for payment (BT-115) is wrong

Official rule text (CEN EN 16931):

[BR-CO-16]-Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114).

This is the classic "PayableAmount is 0.00" export. The header shows a correct tax-inclusive total, but BT-115 was left at zero or copied from the wrong field.

Before:

<cbc:TaxExclusiveAmount currencyID="EUR">100.00</cbc:TaxExclusiveAmount> <cbc:TaxInclusiveAmount currencyID="EUR">119.00</cbc:TaxInclusiveAmount> <cbc:PayableAmount currencyID="EUR">0.00</cbc:PayableAmount> 

After (no prepaid amount, no rounding):

<cbc:TaxExclusiveAmount currencyID="EUR">100.00</cbc:TaxExclusiveAmount> <cbc:TaxInclusiveAmount currencyID="EUR">119.00</cbc:TaxInclusiveAmount> <cbc:PayableAmount currencyID="EUR">119.00</cbc:PayableAmount> 

If PaidAmount or RoundingAmount are present, they belong in the formula, not as a silent overwrite. A small check you can run in a test:

from decimal import Decimal from lxml import etree NS = {"cbc": "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"} def money(parent, name): el = parent.find(f"cbc:{name}", NS) return Decimal((el.text or "0").strip()) if el is not None else Decimal("0") legal = etree.parse("invoice.xml").find( ".//{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}LegalMonetaryTotal" ) due = money(legal, "PayableAmount") expected = ( money(legal, "TaxInclusiveAmount") - money(legal, "PaidAmount") + money(legal, "RoundingAmount") ) assert due == expected, (due, expected) 

Details: BR-CO-16. Auto-fix will stage this change but will not apply it until you confirm the amounts.

3. BR-CO-15 and BR-CO-14 — invoice totals do not add up

Official rule text (CEN EN 16931):

[BR-CO-15]-Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110).

[BR-CO-14]-Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117).

These two usually arrive together: the tax-inclusive total was typed, not calculated, or the VAT breakdown was left out of date after a line change.

Before (19 % VAT on 100.00, but BT-112 still equals the net):

<cbc:TaxAmount currencyID="EUR">19.00</cbc:TaxAmount> <!-- LegalMonetaryTotal --> <cbc:TaxExclusiveAmount currencyID="EUR">100.00</cbc:TaxExclusiveAmount> <cbc:TaxInclusiveAmount currencyID="EUR">100.00</cbc:TaxInclusiveAmount> <cbc:PayableAmount currencyID="EUR">100.00</cbc:PayableAmount> 

After:

<cbc:TaxAmount currencyID="EUR">19.00</cbc:TaxAmount> <cbc:TaxExclusiveAmount currencyID="EUR">100.00</cbc:TaxExclusiveAmount> <cbc:TaxInclusiveAmount currencyID="EUR">119.00</cbc:TaxInclusiveAmount> <cbc:PayableAmount currencyID="EUR">119.00</cbc:PayableAmount> 

And the VAT breakdown (BT-117) must sum to BT-110. Details: BR-CO-15, BR-CO-14.

4. BR-CO-10 — sum of invoice line net amounts (BT-106)

Official rule text (CEN EN 16931):

[BR-CO-10]-Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131).

LegalMonetaryTotal/LineExtensionAmount must equal the sum of every InvoiceLine/LineExtensionAmount. Off-by-one-cent errors usually come from rounding unit price × quantity in the header and again on the line, or from a document-level allowance that was subtracted twice.

Before:

<!-- LegalMonetaryTotal --> <cbc:LineExtensionAmount currencyID="EUR">100.00</cbc:LineExtensionAmount> <!-- InvoiceLine --> <cbc:InvoicedQuantity unitCode="H87">3</cbc:InvoicedQuantity> <cbc:LineExtensionAmount currencyID="EUR">33.33</cbc:LineExtensionAmount> 

A single line of 33.33 cannot justify a header net of 100.00. Either correct the line nets so they sum to BT-106, or recompute BT-106 from the lines (and then recompute BT-109, BT-110, BT-112, BT-115). Details: BR-CO-10.

5. BR-03 — invoice issue date (BT-2)

Official rule text (CEN EN 16931):

[BR-03]-An Invoice shall have an Invoice issue date (BT-2).

The element has to exist, and in UBL it has to be xsd:date — YYYY-MM-DD. German dotted dates (01.12.2026) and DD/MM/YYYY values fail XML Schema before the Schematron even runs. Some exporters also leave IssueDate empty when the PDF only had a printed date in a header image.

Before:

<cbc:IssueDate>01.12.2026</cbc:IssueDate> 

After:

<cbc:IssueDate>2026-12-01</cbc:IssueDate> 

Ambiguous values such as 01.02.2026 should not be auto-flipped; ask which calendar day was meant. Details: BR-03.

6. BR-01 — specification identifier (BT-24)

Official rule text (CEN EN 16931):

[BR-01]-An Invoice shall have a Specification identifier (BT-24).

In UBL this is cbc:CustomizationID. It must be present and it must be the identifier of the CIUS you actually validated against. A Peppol BIS invoice with an XRechnung customization, or an empty customization leftover from a template, will fail here or in a later process rule.

Before:

<cbc:CustomizationID>URN:XRECHNUNG</cbc:CustomizationID> 

After (XRechnung 3.0, current customization):

<cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0</cbc:CustomizationID> <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID> 

Do not swap customizations just to silence the validator. The value has to match the document you are sending and the rules the receiver will apply. Details: BR-01.

7. PEPPOL-EN16931-R010 — buyer electronic address

Official rule text (OpenPeppol BIS Billing 3.0):

[PEPPOL-EN16931-R010]-Buyer electronic address MUST be provided

Peppol routes on the buyer's electronic address, not on the postal address. In UBL this is cac:AccountingCustomerParty/cac:Party/cbc:EndpointID with a schemeID from the CEF EAS code list (for example 0208 for a Belgian enterprise number, or EM where an e-mail scheme is accepted). This is independent of the German BT-10 buyer reference.

Before:

<cac:AccountingCustomerParty> <cac:Party> <cac:PartyName> <cbc:Name>Beispiel Handel GmbH</cbc:Name> </cac:PartyName> <!-- no cbc:EndpointID --> </cac:Party> </cac:AccountingCustomerParty> 

After:

<cac:AccountingCustomerParty> <cac:Party> <cbc:EndpointID schemeID="EM">einkauf@beispiel-handel.example</cbc:EndpointID> <cac:PartyName> <cbc:Name>Beispiel Handel GmbH</cbc:Name> </cac:PartyName> </cac:Party> </cac:AccountingCustomerParty> 

Use the scheme and identifier the buyer actually participates with on the network. Details: PEPPOL-EN16931-R010.

8. BR-DE-18 — Skonto (payment terms, BT-20)

Official rule text (KoSIT / XRechnung 3.0.2) requires each Skonto line in the payment terms to match this pattern:

#SKONTO#TAGE=14#PROZENT=2.00# 

Free-text discounts such as "2 % Skonto bei Zahlung innerhalb 14 Tagen" fail BR-DE-18 even when a human reader understands them. The percentage needs two decimal places; an optional #BASISBETRAG=...# uses a decimal amount.

Before:

<cac:PaymentTerms> <cbc:Note>2% Skonto bei Zahlung innerhalb von 14 Tagen</cbc:Note> </cac:PaymentTerms> 

After:

<cac:PaymentTerms> <cbc:Note>#SKONTO#TAGE=14#PROZENT=2.00#</cbc:Note> </cac:PaymentTerms> 

Details: BR-DE-18.

9. BR-DE-2 — seller contact (BG-6)

Official rule text (KoSIT / XRechnung 3.0.2):

[BR-DE-2] Die Gruppe "SELLER CONTACT" (BG-6) muss übermittelt werden.

If the whole contact block is missing, you get BR-DE-2. If only a child is missing, the follow-on rules are BR-DE-5 (contact point, BT-41), BR-DE-6 (telephone, BT-42) and BR-DE-7 (e-mail, BT-43). A general mailbox on the PDF is not the same as a structured cac:Contact.

Before:

<cac:PartyLegalEntity> <cbc:RegistrationName>Muster Software GmbH</cbc:RegistrationName> <cbc:CompanyID>DE123456788</cbc:CompanyID> </cac:PartyLegalEntity> <!-- no cac:Contact --> 

After:

<cac:PartyLegalEntity> <cbc:RegistrationName>Muster Software GmbH</cbc:RegistrationName> <cbc:CompanyID>DE123456788</cbc:CompanyID> </cac:PartyLegalEntity> <cac:Contact> <cbc:Name>Anna Schmidt</cbc:Name> <cbc:Telephone>+49 30 1234567</cbc:Telephone> <cbc:ElectronicMail>anna@muster-software.example</cbc:ElectronicMail> </cac:Contact> 

Details: BR-DE-2.

10. BR-S-01 — VAT breakdown for standard-rated lines

Official rule text (CEN EN 16931):

[BR-S-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Standard rated" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "S".

Category S on a line is not enough. cac:TaxTotal/cac:TaxSubtotal must contain a matching subtotal with cbc:ID = S and the rate, taxable amount and tax amount. The same family of rules exists for the other categories (BR-E-01, BR-Z-01, BR-AE-01, …).

Before (line is standard-rated, but the only breakdown is missing or uses the wrong category):

<cac:ClassifiedTaxCategory> <cbc:ID>S</cbc:ID> <cbc:Percent>19</cbc:Percent> </cac:ClassifiedTaxCategory> <!-- TaxTotal has no TaxSubtotal with cbc:ID = S --> 

After:

<cac:TaxSubtotal> <cbc:TaxableAmount currencyID="EUR">100.00</cbc:TaxableAmount> <cbc:TaxAmount currencyID="EUR">19.00</cbc:TaxAmount> <cac:TaxCategory> <cbc:ID>S</cbc:ID> <cbc:Percent>19</cbc:Percent> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> </cac:TaxScheme> </cac:TaxCategory> </cac:TaxSubtotal> 

Details: BR-S-01.

Two code-list mistakes that travel with these ten

They are not in the table above because we do not have a dedicated page for every code-list rule, but they break official validation just as reliably:

  • Currency EURO, eur or € instead of ISO 4217 EUR (EN 16931 code lists / BR-CL-*).
  • Unit Stk, Stück or pcs instead of a UNECE Recommendation 20 code such as H87 (piece).
<!-- broken --> <cbc:DocumentCurrencyCode>EURO</cbc:DocumentCurrencyCode> <cbc:InvoicedQuantity unitCode="Stk">1</cbc:InvoicedQuantity> <!-- corrected --> <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode> <cbc:InvoicedQuantity unitCode="H87">1</cbc:InvoicedQuantity> 

Unknown unit codes should be left alone and mapped properly — do not uppercase Stk to STK and hope. Auto-fix applies the safe aliases (EURO → EUR, Stk/Stück/pcs → H87) and leaves anything else untouched.

How to check the file after you edit it

Run the same artefacts the receiver uses. For XRechnung that is the KoSIT validator with the XRechnung configuration. For Peppol BIS, use KoSIT's BIS configuration or the OpenPeppol Schematron. A walk-through with pinned versions in CI is in Validate XRechnung and Peppol BIS in CI.

You can also drop the XML on the free XRechnung validator or stage corrections with Auto-fix. Auto-fix previews are free; downloading a file that the official validator accepts uses one conversion credit. Amount changes are never applied silently.

Disclosure: I build Valifakt, which publishes the rule pages and the Auto-fix tool linked above. This article was drafted with AI assistance and every rule citation and XML snippet was checked by me against the official Schematron text and a generated UBL invoice before publishing. This is not tax advice.