XRechnung error codes
Reference for the XRechnung validation rules. Search by rule code, or paste the error message your validator printed — the official wording is searched too. Every rule leads to its group page, with the official rule text and, where explained, the cause and the fix.
307 rules · 137 explained · Rule set v2026-08-31
4 rules compile to true() in the rule set and cannot trigger. They are listed anyway — “why do I never see this error?” deserves an answer.
Whole rule groups at once
Some families are one requirement repeated across many fields. Those are explained together rather than one at a time.
- The German rules of XRechnung — what applies on top of EN 16931
- VAT categories and their 98 validation rules
- Code lists — which values are permitted at all
- BR-DEC: decimal places — two, everywhere
- XRechnung Extension — when the stricter rules apply
- The core EN 16931 rules — which fields an invoice has to carry
- Calculation and cross-field rules — when the totals do not add up
- Peppol BIS rules — what applies on top when delivery goes through Peppol
- Clean vehicles (CVD) — what a vehicle invoice has to carry on top
307 of 307 rules
BR
58- BR-01
Specification identifier (BT-24) missing
- BR-02
Invoice number (BT-1) missing
- BR-03
Issue date (BT-2) missing
- BR-04
The invoice must carry an invoice type code (BT-3) — the code saying whether this is an invoice, a credit note or a partial invoice.
- BR-05
The invoice must name an invoice currency (BT-5).
- BR-06
The invoice must contain the seller name (BT-27) — the full registered name the company trades under.
- BR-07
Buyer name (BT-44) missing
- BR-08
Seller postal address (BG-5) missing
- BR-09
The seller postal address must contain a country code (BT-40) — the two-letter ISO 3166-1 code, not the country's name spelled out.
- BR-10
The invoice must contain the buyer postal address (BG-8) — the counterpart to BG-5 on the recipient's side.
- BR-11
The buyer postal address must contain a country code (BT-55) — the same requirement as BR-09, on the recipient's side.
- BR-12
The invoice must contain the sum of line net amounts (BT-106).
- BR-13
The invoice must contain the total amount without VAT (BT-109).
- BR-14
The invoice must contain the total amount with VAT (BT-112).
- BR-15
The invoice must contain the amount due for payment (BT-115).
- BR-16
Invoice with no line (BG-25)
- BR-17
Where the payee (BG-10) differs from the seller, the payee name (BT-59) must be provided.
- BR-18
Where the seller has a tax representative (BG-11), the representative's name (BT-62) must be provided.
- BR-19
Where the seller has a tax representative, that representative's postal address (BG-12) must be provided — the same requirement as BR-08, for a third party.
- BR-20
Tax representative without a country (BT-69)
- BR-21
Every invoice line (BG-25) must carry a line identifier (BT-126).
- BR-22
Every invoice line must carry an invoiced quantity (BT-129) — including where the line is a flat fee.
- BR-23
The invoiced quantity must carry a unit of measure (BT-130) — a code from UN/ECE Recommendation 20, not your item master's own abbreviation.
- BR-24
Every invoice line must carry a net amount (BT-131) — the amount of the row before VAT.
- BR-25
Item name (BT-153) missing
- BR-26
Every invoice line must carry an item net price (BT-146) — the price per unit after any price discount.
- BR-27
Negative net price (BT-146)
- BR-28
Negative gross price (BT-148)
- BR-29
Where both the start and the end of the invoicing period are given, the end must fall on or after the start.
- BR-30
Where both the start and the end of a line period are given, the end must fall on or after the start — the same check as BR-29, per line.
- BR-31
Every document-level allowance (BG-20) must carry an amount (BT-92).
- BR-32
Every document-level allowance (BG-20) must carry a VAT category code (BT-95).
- BR-33
Every document-level allowance (BG-20) must carry a reason — in plain text (BT-97), as a code (BT-98), or both.
- BR-36
Every document-level charge (BG-21) must carry an amount (BT-99).
- BR-37
Every document-level charge (BG-21) must carry a VAT category code (BT-102).
- BR-38
Every document-level charge (BG-21) must carry a reason — in plain text (BT-104), as a code (BT-105), or both.
- BR-41
Every invoice line allowance (BG-27) must carry an amount (BT-136).
- BR-42
Line allowance with no reason
- BR-43
Line charge with no amount (BT-141)
- BR-44
Every invoice line charge (BG-28) must carry a reason — in plain text (BT-144), as a code (BT-145), or both.
- BR-45
Every VAT breakdown block (BG-23) must contain the category taxable amount (BT-116).
- BR-46
Every VAT breakdown block (BG-23) must contain the category tax amount (BT-117).
- BR-47
VAT breakdown with no category code (BT-118)
- BR-48
Every VAT breakdown block must carry a VAT category rate (BT-119), unless the invoice is not subject to VAT at all.
- BR-49
A payment instruction (BG-16) must state the payment means code (BT-81) — how the invoice is meant to be paid.
- BR-50
Where a credit transfer is given as the payment means, the payee account identifier (BT-84) must accompany it.
- BR-51
Unmasked card number (BT-87)
- BR-52
Every additional supporting document (BG-24) must carry a reference (BT-122) — the number under which the recipient can find the document.
- BR-53
Where a separate VAT accounting currency (BT-6) is given, the tax total in that currency (BT-111) must be provided too.
- BR-54
Item attribute with no value (BT-161)
- BR-55
Every preceding invoice reference (BG-3) must contain the preceding invoice's number (BT-25).
- BR-56
Every tax representative party (BG-11) must carry its VAT identifier (BT-63).
- BR-57
Deliver-to address with no country (BT-80)
- BR-61
Credit transfer with no account (BT-84)
- BR-62
Where the seller electronic address (BT-34) is sent, it must carry a scheme identifier.
- BR-63
Where the buyer electronic address (BT-49) is sent, it must carry a scheme identifier.
- BR-64
Where the item standard identifier (BT-157) is sent, it must carry a scheme identifier.
- BR-65
Item classification with no scheme (BT-158)
BR-DE
31- BR-DE-1
Payment instructions (BG-16) missing
- BR-DE-2
Seller contact (BG-6) missing
- BR-DE-3
Seller city (BT-37) missing
- BR-DE-4
Seller post code (BT-38) missing
- BR-DE-5
Seller contact point (BT-41) missing
- BR-DE-6
Contact telephone (BT-42) missing
- BR-DE-7
Contact email (BT-43) missing
- BR-DE-8
Buyer city (BT-52) missing
- BR-DE-9
Buyer post code (BT-53) missing
- BR-DE-10
Delivery address with no city (BT-77)
- BR-DE-11
Delivery address with no post code (BT-78)
- BR-DE-14
VAT category rate (BT-119) missing
- BR-DE-15
Leitweg-ID (BT-10) or buyer reference
- BR-DE-16
Seller not identifiable for tax
- BR-DE-17
Invoice type code (BT-3) not permitted
- BR-DE-18
Wrong Skonto format in BT-20
- BR-DE-19
Invalid IBAN for credit transfer (BT-84)
- BR-DE-20
Invalid IBAN for direct debit (BT-91)
- BR-DE-21
Identifier is not XRechnung (BT-24)
- BR-DE-22
Two attachments share a filename
- BR-DE-23-a
Transfer with no bank details (BG-17)
- BR-DE-23-b
Transfer with the wrong payment data
- BR-DE-24-a
Card payment with no card data (BG-18)
- BR-DE-24-b
Card payment with the wrong data
- BR-DE-25-a
Direct debit, no mandate data (BG-19)
- BR-DE-25-b
Direct debit with the wrong data
- BR-DE-26
Correction with no reference (BG-3)
- BR-DE-27
Telephone number too short (BT-42)
- BR-DE-28
Email address not plausible (BT-43)
- BR-DE-30
Creditor identifier (BT-90) missing
- BR-DE-31
Debited account (BT-91) missing
BR-CL
23- BR-CL-01
Invoice type code (BT-3)
- BR-CL-03
The currency attribute on every amount
- BR-CL-04
Invoice currency (BT-5)
- BR-CL-05
VAT accounting currency (BT-6)
- BR-CL-06
VAT point date code (BT-8)
- BR-CL-07
Object identifier scheme (BT-18)
- BR-CL-08
Subject code of the free text (BT-21)
- BR-CL-10
Scheme of any identifier
- BR-CL-11
Scheme of a registration identifier
- BR-CL-13
Item classification scheme (BT-158)
- BR-CL-14
Country codes of the addresses (BT-40, BT-55, BT-69, BT-80)
- BR-CL-15
Item country of origin (BT-159)
- BR-CL-16
Payment means code (BT-81)
- BR-CL-17
Tax category in the VAT breakdown (BT-118)
- BR-CL-18
Tax category on line, allowance and charge (BT-151, BT-95, BT-102)
- BR-CL-19
Allowance reason code (BT-98, BT-140)
- BR-CL-20
Charge reason code (BT-105, BT-145)
- BR-CL-21
Item standard identifier scheme (BT-157)
- BR-CL-22
Exemption reason code scheme (BT-121)
- BR-CL-23
Unit of measure (BT-130, BT-150)
- BR-CL-24
MIME type of the attachment (BT-125)
- BR-CL-25
Electronic address scheme (BT-34, BT-49)
- BR-CL-26
Delivery location identifier scheme (BT-71)
BR-CO
23- BR-CO-03
The invoice may state the VAT point either as a date (BT-7) or as a code (BT-8), never as both.
- BR-CO-04
Every invoice line (BG-25) must carry a VAT category code (BT-151) — S for the standard rate, E for exempt, Z for zero-rated, AE for reverse charge, and so on.
- BR-CO-05
Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance.never fires
- BR-CO-06
Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge.never fires
- BR-CO-07
Invoice line allowance reason code (BT-140) and Invoice line allowance reason (BT-139) shall indicate the same type of allowance reason.never fires
- BR-CO-08
Invoice line charge reason code (BT-145) and Invoice line charge reason (BT-144) shall indicate the same type of charge reason.never fires
- BR-CO-09
The VAT identifiers of the seller (BT-31), the tax representative (BT-63) and the buyer (BT-48) must begin with the ISO 3166-1 alpha-2 country code.
- BR-CO-10
The sum of invoice line net amounts (BT-106) must equal the sum of the individual line net amounts (BT-131) exactly.
- BR-CO-11
The sum of allowances at document level (BT-107) must equal the sum of the individual allowance amounts (BT-92) exactly.
- BR-CO-12
Sum of charges (BT-108) does not match
- BR-CO-13
The invoice total without VAT (BT-109) must equal the sum of all line net amounts (BT-131) minus document-level allowances (BT-107) plus document-level charges (BT-108).
- BR-CO-14
The invoice total VAT amount (BT-110) must equal the sum of the tax amounts of all VAT categories (BT-117).
- BR-CO-15
The invoice total with VAT (BT-112) must equal the total without VAT (BT-109) plus the total VAT amount (BT-110), exactly.
- BR-CO-16
Amount due (BT-115) does not add up
- BR-CO-17
Tax amount (BT-117) wrong for the rate
- BR-CO-18
The invoice must contain at least one VAT breakdown group (BG-23) — one block per tax category, carrying the taxable amount, the tax amount, the category and the rate.
- BR-CO-19
If an invoicing period (BG-14) is sent, at least one date must be in it: the start (BT-73), the end (BT-74), or both.
- BR-CO-20
If a line period (BG-26) is sent on an invoice line, at least one date must be in it: the start (BT-134), the end (BT-135), or both.
- BR-CO-21
Every document-level allowance (BG-20) must be justified — in plain text (BT-97), as a code (BT-98), or both.
- BR-CO-22
Every document-level charge (BG-21) must carry a reason — in plain text (BT-104), as a code (BT-105), or both.
- BR-CO-23
Every allowance on an invoice line (BG-27) must be justified — in plain text (BT-139), as a code (BT-140), or both.
- BR-CO-24
Every charge on an invoice line (BG-28) must carry a reason — in plain text (BT-144), as a code (BT-145), or both.
- BR-CO-26
So the buyer can identify the supplier automatically, at least one seller identifier must be present: a seller identifier (BT-29), the legal registration identifier (BT-30), or the VAT identifier (BT-31).
PEPPOL-EN16931
23- PEPPOL-EN16931-R001
The invoice must name the business process (BT-23) — the identifier of the process it is being sent in.
- PEPPOL-EN16931-R005
If a separate VAT accounting currency (BT-6) is given, it must differ from the invoice currency (BT-5).
- PEPPOL-EN16931-R008
The document must contain no empty elements.
- PEPPOL-EN16931-R010
Buyer address (BT-49) missing
- PEPPOL-EN16931-R020
The seller electronic address (BT-34) must be provided — the counterpart to BT-49, the address a recipient can reply or send a response message to.
- PEPPOL-EN16931-R040
Where both the base amount and the percentage of an allowance or charge are given, the amount must follow from them exactly: base amount × percentage ÷ 100.
- PEPPOL-EN16931-R041
If the percentage of an allowance or charge is given, the base amount must accompany it.
- PEPPOL-EN16931-R042
If the base amount of an allowance or charge is given, the percentage must accompany it — the counterpart to R041.
- PEPPOL-EN16931-R043
The indicator saying whether this is a charge or an allowance must be exactly true or false — lower case, with no alternatives.
- PEPPOL-EN16931-R043-1
In CII the charge indicator of an allowance or charge at document or line level must be exactly true or false.
- PEPPOL-EN16931-R043-2
The same requirement as R043-1, but for the allowance or charge inside the price: ram:AppliedTradeAllowanceCharge under the gross price must carry an indicator of exactly true or false.
- PEPPOL-EN16931-R044
No charge is permitted inside a line's price.
- PEPPOL-EN16931-R046
Price calculation mismatch
- PEPPOL-EN16931-R053
The invoice may contain exactly one tax total in the invoice currency — that is, exactly one block carrying a breakdown.
- PEPPOL-EN16931-R054
A second tax block without a breakdown is permitted only where a separate VAT accounting currency (BT-6) is given — and then exactly one.
- PEPPOL-EN16931-R055
The tax total in the invoice currency and the tax total in the accounting currency must carry the same operational sign.
- PEPPOL-EN16931-R061
Mandate reference missing
- PEPPOL-EN16931-R101
On an invoice line the only additional document reference permitted is the object identifier — type code 130.
- PEPPOL-EN16931-R110
If a line has a period of its own, it must fall inside the invoicing period: the line's start date may not precede the invoice's start date.
- PEPPOL-EN16931-R111
A line period's end date may not fall after the end of the invoicing period — the counterpart to R110 at the other end.
- PEPPOL-EN16931-R120
A line's net amount must follow from the line's own figures: quantity × (net price ÷ price base quantity), plus the line's charges and minus its allowances.
- PEPPOL-EN16931-R121
Price base quantity is zero
- PEPPOL-EN16931-R130
The unit of the price base quantity must be the same as the unit of the invoiced quantity.
BR-DEC
21- BR-DEC-01
Document level allowance (BT-92)
- BR-DEC-02
Document level allowance base (BT-93)
- BR-DEC-05
Document level charge (BT-99)
- BR-DEC-06
Document level charge base (BT-100)
- BR-DEC-09
Sum of line net amounts (BT-106)
- BR-DEC-10
Sum of document level allowances (BT-107)
- BR-DEC-11
Sum of document level charges (BT-108)
- BR-DEC-12
Total without VAT (BT-109)
- BR-DEC-13
Total VAT amount (BT-110)
- BR-DEC-14
Total with VAT (BT-112)
- BR-DEC-15
Total VAT in accounting currency (BT-111)
- BR-DEC-16
Amount already paid (BT-113)
- BR-DEC-17
Rounding amount (BT-114)
- BR-DEC-18
Amount due for payment (BT-115)
- BR-DEC-19
Taxable base per VAT category (BT-116)
- BR-DEC-20
VAT amount per VAT category (BT-117)
- BR-DEC-23
Line net amount (BT-131)
- BR-DEC-24
Line level allowance (BT-136)
- BR-DEC-25
Line level allowance base (BT-137)
- BR-DEC-27
Line level charge (BT-141)
- BR-DEC-28
Line level charge base (BT-142)
BR-DEX
15- BR-DEX-01
MIME type of the embedded attachment (BT-125)
- BR-DEX-02
Line net amount from its sub lines (BT-131)
- BR-DEX-03
VAT information per sub line (BG-DEX-06)
- BR-DEX-04
Party identifier scheme (BT-29, BT-46, BT-60)
- BR-DEX-05
Legal registration identifier scheme (BT-30, BT-47, BT-61)
- BR-DEX-06
Item standard identifier scheme (BT-157)
- BR-DEX-07
Electronic address scheme (BT-34, BT-49)
- BR-DEX-08
Delivery location identifier scheme (BT-71)
- BR-DEX-09
Amount due including third-party payments (BT-115)
- BR-DEX-10
Third party payment type (BT-DEX-001)
- BR-DEX-11
Third party payment amount (BT-DEX-002)
- BR-DEX-12
Third party payment description (BT-DEX-003)
- BR-DEX-13
Decimals of that amount (BT-DEX-002)
- BR-DEX-14
Currency of that amount (BT-DEX-002)
- BR-DEX-15
Sub invoice lines in CII, which XRechnung does not have
BR-O
14- BR-O-01
The category must appear in the VAT breakdown (BG-23)
- BR-O-02
A line in this category forbids any tax identifier
- BR-O-03
The same for a document level allowance
- BR-O-04
The same for a document level charge
- BR-O-05
The line VAT rate (BT-152)
- BR-O-06
The allowance VAT rate
- BR-O-07
The charge VAT rate
- BR-O-08
The taxable base (BT-116) as the sum of amounts in this category
- BR-O-09
The VAT amount (BT-117) from the taxable base and the rate
- BR-O-10
Whether an exemption reason (BT-120/BT-121) is required or forbidden
- BR-O-11
No other VAT breakdown beside the not-subject-to-VAT one
- BR-O-12
No invoice line in another VAT category
- BR-O-13
No document level allowance in another category
- BR-O-14
No document level charge in another category
BR-IC
12- BR-IC-01
The category must appear in the VAT breakdown (BG-23)
- BR-IC-02
A line in this category requires a seller tax identifier
- BR-IC-03
The same for a document level allowance
- BR-IC-04
The same for a document level charge
- BR-IC-05
The line VAT rate (BT-152)
- BR-IC-06
The allowance VAT rate
- BR-IC-07
The charge VAT rate
- BR-IC-08
The taxable base (BT-116) as the sum of amounts in this category
- BR-IC-09
The VAT amount (BT-117) from the taxable base and the rate
- BR-IC-10
Whether an exemption reason (BT-120/BT-121) is required or forbidden
- BR-IC-11
A delivery date (BT-72) or an invoicing period (BG-14) must be given
- BR-IC-12
The delivery country code (BT-80) must be given
BR-AE
10- BR-AE-01
The category must appear in the VAT breakdown (BG-23)
- BR-AE-02
A line in this category requires a seller tax identifier
- BR-AE-03
The same for a document level allowance
- BR-AE-04
The same for a document level charge
- BR-AE-05
The line VAT rate (BT-152)
- BR-AE-06
The allowance VAT rate
- BR-AE-07
The charge VAT rate
- BR-AE-08
The taxable base (BT-116) as the sum of amounts in this category
- BR-AE-09
The VAT amount (BT-117) from the taxable base and the rate
- BR-AE-10
Whether an exemption reason (BT-120/BT-121) is required or forbidden
BR-AF
10- BR-AF-01
The category must appear in the VAT breakdown (BG-23)
- BR-AF-02
A line in this category requires a seller tax identifier
- BR-AF-03
The same for a document level allowance
- BR-AF-04
The same for a document level charge
- BR-AF-05
The line VAT rate (BT-152)
- BR-AF-06
The allowance VAT rate
- BR-AF-07
The charge VAT rate
- BR-AF-08
The taxable base (BT-116) as the sum of amounts in this category
- BR-AF-09
The VAT amount (BT-117) from the taxable base and the rateinactive in CII
- BR-AF-10
Whether an exemption reason (BT-120/BT-121) is required or forbidden
BR-AG
10- BR-AG-01
The category must appear in the VAT breakdown (BG-23)
- BR-AG-02
A line in this category requires a seller tax identifier
- BR-AG-03
The same for a document level allowance
- BR-AG-04
The same for a document level charge
- BR-AG-05
The line VAT rate (BT-152)
- BR-AG-06
The allowance VAT rate
- BR-AG-07
The charge VAT rate
- BR-AG-08
The taxable base (BT-116) as the sum of amounts in this category
- BR-AG-09
The VAT amount (BT-117) from the taxable base and the rateinactive in CII
- BR-AG-10
Whether an exemption reason (BT-120/BT-121) is required or forbidden
BR-E
10- BR-E-01
The category must appear in the VAT breakdown (BG-23)
- BR-E-02
A line in this category requires a seller tax identifier
- BR-E-03
The same for a document level allowance
- BR-E-04
The same for a document level charge
- BR-E-05
The line VAT rate (BT-152)
- BR-E-06
The allowance VAT rate
- BR-E-07
The charge VAT rate
- BR-E-08
The taxable base (BT-116) as the sum of amounts in this category
- BR-E-09
The VAT amount (BT-117) from the taxable base and the rate
- BR-E-10
Whether an exemption reason (BT-120/BT-121) is required or forbidden
BR-G
10- BR-G-01
The category must appear in the VAT breakdown (BG-23)
- BR-G-02
A line in this category requires a seller tax identifier
- BR-G-03
The same for a document level allowance
- BR-G-04
The same for a document level charge
- BR-G-05
The line VAT rate (BT-152)
- BR-G-06
The allowance VAT rate
- BR-G-07
The charge VAT rate
- BR-G-08
The taxable base (BT-116) as the sum of amounts in this category
- BR-G-09
The VAT amount (BT-117) from the taxable base and the rate
- BR-G-10
Whether an exemption reason (BT-120/BT-121) is required or forbidden
BR-S
10- BR-S-01
The category must appear in the VAT breakdown (BG-23)
- BR-S-02
A line in this category requires a seller tax identifier
- BR-S-03
The same for a document level allowance
- BR-S-04
The same for a document level charge
- BR-S-05
The line VAT rate (BT-152)
- BR-S-06
The allowance VAT rate
- BR-S-07
The charge VAT rate
- BR-S-08
The taxable base (BT-116) as the sum of amounts in this category
- BR-S-09
The VAT amount (BT-117) from the taxable base and the rate
- BR-S-10
Whether an exemption reason (BT-120/BT-121) is required or forbidden
BR-Z
10- BR-Z-01
The category must appear in the VAT breakdown (BG-23)
- BR-Z-02
A line in this category requires a seller tax identifier
- BR-Z-03
The same for a document level allowance
- BR-Z-04
The same for a document level charge
- BR-Z-05
The line VAT rate (BT-152)
- BR-Z-06
The allowance VAT rate
- BR-Z-07
The charge VAT rate
- BR-Z-08
The taxable base (BT-116) as the sum of amounts in this category
- BR-Z-09
The VAT amount (BT-117) from the taxable base and the rate
- BR-Z-10
Whether an exemption reason (BT-120/BT-121) is required or forbidden
BR-DE-CVD
7- BR-DE-CVD-01
Contract reference becomes mandatory (BT-12)
- BR-DE-CVD-02
Tender or lot reference becomes mandatory (BT-17)
- BR-DE-CVD-03
At least one vehicle line per invoice (BG-25)
- BR-DE-CVD-04
Permitted vehicle categories (BT-158)
- BR-DE-CVD-05
Permitted drive types (BT-161)
- BR-DE-CVD-06-a
A category requires a drive type (BT-158 → BT-160)
- BR-DE-CVD-06-b
A drive type requires a category (BT-160 → BT-158)
BR-TMP
6BR-B
2BR-DE-TMP
1- BR-DE-TMP-32
Eine Rechnung sollte zur Angabe des Liefer-/Leistungsdatums entweder BT-72 "Actual delivery date", BG-14 "Invoicing period" oder in jeder Rechnungsposition BG-26 "Invoice line period" enthalten.
BR-TMP-CVD
1- BR-TMP-CVD-01
Scheme of the item classification identifier (BT-158)
When two programs judge the same invoice differently: the validator comparison runs 29 documents against the same norm and shows where the answers part company. And eleven free online validators were given the same invoice on one day — three cannot read XRechnung in UBL at all, and three miss a rule added in early September.