E-invoice validation errors happen when a structured electronic invoice fails the checks applied by software, access points, platforms or tax authorities before it is accepted. Unlike a PDF, which a person can read even with mistakes, a structured e-invoice must follow exact rules for format, mandatory fields, codes and calculations. When it does not, it is rejected, often with a cryptic code such as BR-CO-15 or PEPPOL-EN16931-R001, and the customer never receives it, which delays payment. Validation errors are among the most common problems businesses face when e-invoicing mandates arrive. This guide explains the layers of validation, the most common errors by category, what typical rule codes mean, how to read error messages, how to fix errors at the source, how to prevent them with good master data and testing, and what to do when a customer or platform rejects an invoice. It is general information; rule sets and codes change, so always check the current specifications.

Free E-Invoice Generator: prepare the invoice details and a readable PDF copy before you send the structured e-invoice through your approved system. No sign-up.
Open the e-invoice generatorWhy e-invoices are validated
Structured e-invoices are designed to be processed automatically. Validation makes sure every invoice contains the data the receiver and tax authority need, in the expected form, so it can be booked, paid and reported without manual intervention. Rejecting a bad invoice early is cheaper than processing it wrongly.
Validation happens in your software, at the sending access point or platform, at the receiving side and, in clearance systems, at the tax authority.
Layers of validation
Validation usually happens in layers.
| Layer | Checks | Example error |
|---|---|---|
| Syntax (XML schema) | Structure, element names, data types | Unexpected element, invalid date format |
| EN 16931 business rules | Mandatory fields, calculations, codes | BR-CO-15 totals mismatch |
| CIUS / national rules | Extra local requirements | Missing Leitweg-ID in XRechnung |
| Network rules | Peppol-specific rules | PEPPOL-EN16931-R rules |
| Receiver or authority checks | Business and tax checks | Unknown PO, invalid VAT number |
Schema errors
Schema errors mean the XML does not match the required structure: elements are misspelt, in the wrong order, missing, or contain data of the wrong type, such as text in a numeric field or a date in the wrong format. They usually point to a software or mapping problem rather than a data entry mistake.
Fix schema errors in the software or integration that generates the XML. If you use off-the-shelf accounting software, report them to the vendor.
Missing mandatory fields
EN 16931 rules require fields such as invoice number (BR-02), issue date (BR-03), invoice type code (BR-04), currency (BR-05), seller name (BR-06), buyer name (BR-07), seller and buyer postal address country codes, and at least one invoice line (BR-16). National rules add more, such as a buyer reference.
Most missing field errors come from incomplete customer or supplier master data. Fill in the data once and future invoices pass.
Calculation and totals errors
Totals rules check that the numbers add up. BR-CO-10 checks that the sum of line net amounts equals the stated total; BR-CO-13 checks the total without VAT; BR-CO-15 checks that total with VAT equals total without VAT plus VAT; BR-CO-16 checks the amount due. VAT breakdown rules check each category’s taxable amount and tax.
These errors often come from rounding differences, such as rounding VAT per line instead of per category, or from discounts applied inconsistently. Align your software’s rounding with the rules.
VAT category errors
VAT category codes must match the rest of the invoice. Standard-rated lines (S) need a rate above zero; exempt lines (E) need an exemption reason; reverse charge lines (AE) need both seller and buyer VAT identifiers and a zero tax amount; intra-community supplies (K) need the buyer VAT number and delivery details. Rules such as BR-S, BR-E, BR-AE and BR-IC families check these. See reverse charge invoices and VAT invoices.
Invalid codes
Codes must come from approved lists: currency codes (ISO 4217), country codes (ISO 3166), unit codes (UN/ECE Recommendation 20, such as C62 for one or HUR for hour), payment means codes (UNCL 4461, such as 30 or 58 for transfers) and electronic address scheme identifiers. Using “pcs” instead of a valid unit code, for instance, fails validation.
Identifier errors
VAT numbers must include the country prefix where required and be valid; electronic addresses need a valid scheme; Peppol IDs must match the registry. Invalid or missing identifiers cause routing failures and rejections.
Check VAT numbers with official validation services and store identifiers in a structured way in your customer records.
Date and period errors
Dates must use the required format, and logical rules apply, such as an invoicing period end date not earlier than its start date. Credit notes may need a reference to the original invoice and its date.
National and CIUS rules
National specifications add rules. XRechnung requires a buyer reference (Leitweg-ID for public bodies) and seller contact details; other countries require specific identifiers, payment details or references. Peppol has its own rule set for invoices sent on its network. See Peppol BIS Billing.
How to read an error message
An error message typically includes a rule identifier, a severity (fatal or warning), a description and a location in the XML, such as an XPath. Fatal errors cause rejection; warnings do not, but should still be fixed. Look up the rule identifier in the specification to understand it.
Many validation tools translate errors into plain language and show the field concerned. Use them before sending.
Fixing errors at the source
Do not edit XML files by hand except for testing. Correct the underlying data in your software, such as the customer’s VAT number or a product’s unit code, or fix the configuration, such as rounding settings or tax codes, then regenerate the invoice. This prevents the same error recurring.
When a customer or platform rejects an invoice
A rejected e-invoice is usually treated as not received, so the payment clock has not started. Fix the error and resend promptly, usually as a new transmission of the corrected invoice. If the invoice was accepted but contains a business error, such as a wrong price, issue a credit note and a new invoice rather than editing it. See credit notes.
Preventing validation errors
Most errors can be prevented.
- Clean customer and product master data.
- Correct tax codes and VAT category mapping.
- Rounding aligned with EN 16931 rules.
- Valid unit, currency and country codes.
- Validation before sending.
- Testing with key customers before go-live.
Monitor and learn
Track rejection rates and error types. A spike in one rule usually means a configuration or data change caused it. Share frequent errors with your software provider and train staff who create invoices.
Prepare clean invoice data with a free invoice.
Open the free invoice generatorAllowances and charges errors
Discounts and surcharges must be expressed as allowances or charges with their own amounts, VAT categories and, often, reason codes. Errors arise when a discount is shown only in a description, when an allowance has no VAT category, or when percentage and amount do not match. Apply discounts at line or header level consistently, and let the software calculate the effect on totals.
Payment information errors
Payment means must use a valid code and, for credit transfers, include an account identifier such as an IBAN. Some national rules require payment terms text or a due date. Missing or malformed bank details are both a validation problem and a fraud risk, so take extra care when bank details change.
Checklist
Validate before sending; check mandatory fields and identifiers; align rounding; use valid code lists; map VAT categories correctly; follow national rules; fix data at the source; resend promptly; and monitor errors. For the bigger picture, see e-invoices versus PDF invoices and the EU ViDA e-invoicing timeline.
E-invoice validation errors FAQ
What does BR-CO-15 mean?
The total with VAT does not equal the total without VAT plus the VAT amount.
Why was my e-invoice rejected?
It failed schema, business, national or network rules, such as missing fields or wrong codes.
Is a rejected e-invoice considered received?
Usually not, so payment terms have not started.
Should I edit the XML to fix errors?
No, fix the data or settings in your software and regenerate.
How can I prevent validation errors?
Clean master data, correct tax mapping, aligned rounding and validation before sending.
Create a clear, complete invoice in minutes
Prepare clean invoice data with a free invoice. No sign-up.
- 134 invoice and document types
- 16 country tax presets
- 35 languages


