E-invoice validation rules, in plain language
When an e-invoice is refused, the check names a rule number and nothing else. This is what the number means, why files fail it, and what to change.
These 40 are the rules real invoices break most often. They were chosen on evidence rather than guessed: a valid invoice was broken in 28 different ways that invoices are genuinely wrong in practice, and every one was put through the official validator. For the second half, a targeted test per rule was added, and a survey of which rules people ask about most in forums and help pages.
German additional rules (XRechnung)
- BR-DE-15Your customer's reference is missingYour invoice is missing the buyer reference (BT-10). For a German public body this is the Leitweg-ID.
- BR-DE-1The invoice does not say how to pay itThe invoice is missing the payment instructions block (BG-16), which states the means of payment.
- BR-DE-19The IBAN does not look like a real IBANWarningFor a SEPA credit transfer (code 58) the account field (BT-84) must hold a formally valid IBAN. This is a warning, not an error.
- BR-DE-8Your customer's town is missingYour customer's address has no town or city (BT-52). XRechnung requires one.
- BR-DE-9Your customer's postcode is missingYour customer's address has no postcode (BT-53). XRechnung requires one.
- BR-DE-17The document type code is not allowed in XRechnungWarningXRechnung permits only eight values for the document type code (BT-3), and yours is not one of them. This is a warning, not an error.
- BR-DE-16Neither a VAT number nor a tax numberThe invoice gives neither your VAT number (BT-31) nor your tax number (BT-32) nor a tax representative (BG-11). One of them is mandatory.
- BR-DE-2Your contact details are missing entirelyThe invoice is missing the whole block with your contact details (BG-6): no contact person, no telephone number, no email address.
- BR-DE-5Your contact person is missingYour contact details (BG-6) name no contact person (BT-41). XRechnung requires one, so that your customer knows who to turn to.
- BR-DE-6Your telephone number is missingYour contact details (BG-6) contain no telephone number (BT-42). XRechnung requires one even when an email address is given.
- BR-DE-7Your contact email address is missingYour contact details (BG-6) contain no email address (BT-43). The electronic address used for receiving invoices does not replace it.
- BR-DE-3Your own town is missing from the addressYour own address as the seller has no town or city (BT-37). XRechnung requires one, just as it does for your customer's address.
- BR-DE-23-aA transfer with no account blockThe invoice states a credit transfer as the payment means (BT-81, code 30 or 58) but contains no "CREDIT TRANSFER" block (BG-17) with your account.
European norm EN 16931
- BR-CO-15The gross total is not net plus VATThe total with VAT (BT-112) does not equal the total without VAT (BT-109) plus the VAT amount (BT-110).
- BR-CO-16The amount due does not match the invoice totalThe amount due (BT-115) does not equal the gross total minus what has already been paid, plus rounding.
- BR-CO-25There is no due date and no payment termsIf something is still to be paid, the invoice must say when: either a due date (BT-9) or payment terms (BT-20).
- BR-06Your own company name is missingThe invoice does not name the seller (BT-27).
- BR-07Your customer's name is missingThe invoice does not name the buyer (BT-44).
- BR-02The invoice number is missingThe invoice carries no invoice number (BT-1).
- BR-04The document type is missingThe invoice does not say what kind of document it is (BT-3): an invoice, a credit note or a partial invoice.
- BR-09Your own country is missing from the addressYour own address does not carry a country code (BT-40).
- BR-61A transfer with no account to transfer toThe invoice states a credit transfer as the payment means (BT-81) but gives no account (BT-84).
- BR-CO-10The line items do not add up to the totalThe sum of line net amounts (BT-106) does not equal the individual line amounts (BT-131) added together.
- BR-CO-17The tax amount does not match the tax rateThe VAT amount (BT-117) does not equal the taxable amount (BT-116) times the rate (BT-119).
- BR-CO-18The VAT breakdown is missing entirelyThe invoice contains no VAT breakdown group (BG-23). At least one is always required.
- BR-S-01A standard-rated line with no matching tax groupAt least one line is standard-rated, but the VAT breakdown contains no standard-rated group.
- BR-S-05A standard rate of zero per centA line is marked standard-rated but carries a VAT rate of zero.
- BR-CO-09The VAT number has no country prefixA VAT number on the invoice, yours (BT-31), your tax representative's (BT-63) or your customer's (BT-48), does not start with a country prefix such as DE.
- BR-CO-26Your business has no identifierThe invoice needs your seller identifier (BT-29), registration number (BT-30) or VAT number (BT-31). A German tax number alone does not count.
- BR-S-08The taxable amount does not match the linesThe taxable amount (BT-116) of a standard-rated VAT group is not the sum of the line net amounts (BT-131) at that rate.
- BR-S-09Standard-rate VAT is not base times rateIn a standard-rated VAT group the tax amount (BT-117) is not the taxable amount (BT-116) multiplied by the rate (BT-119).
- BR-CO-14Total VAT is not the sum of the groupsThe invoice total VAT amount (BT-110) does not equal the tax amounts of the individual VAT breakdown groups (BT-117) added together.
- BR-E-10Exempt from VAT, but no exemption reasonAn exempt group (category E) in the VAT breakdown gives no exemption reason, neither as text (BT-120) nor as a code (BT-121).
- BR-AE-10Reverse charge without an exemption reasonA reverse charge VAT group (category AE) gives no exemption reason, neither as a code (BT-121) nor as text (BT-120).
- BR-AE-02Reverse charge without the required numbersUnder reverse charge (category AE) the invoice needs your VAT or tax number and the customer's VAT number (BT-48) or registration number (BT-47).
- BR-CL-23The unit is not a valid codeWarningA line's unit of measure (BT-130) is not a UN/ECE Recommendation 20 code, such as "Hour" instead of HUR. This is a warning, not an error.
- BR-27A line has a negative unit priceA line carries a negative item net price (BT-146). Usually a discount was entered as a line of its own with a minus price.
Peppol rules that XRechnung validation also applies
- PEPPOL-EN16931-R010Your customer's electronic address is missingYour invoice is missing your customer's electronic address (BT-49). XRechnung validation requires it under the Peppol rules.
- PEPPOL-EN16931-R020Your own electronic address is missingYour invoice is missing your own electronic address as the seller (BT-34). XRechnung validation requires it under the Peppol rules.
- PEPPOL-EN16931-R008The file contains an empty elementAn element of the invoice is present but empty, such as the customer name (BT-44) or the invoice number (BT-1). The Peppol rules forbid this.
Your rule is not here? Run your file through the validator. It names every rule the file breaks, including the ones without a page yet.