Topic hub

Validation & Errors

Validate e-invoices against the KoSIT rules and understand and fix validation errors, with concrete fixes rule by rule.

8 articles

An e-invoice is only correct if it satisfies the rules both technically and in substance. Validation runs in two stages: first the XML is checked against the schema of its syntax (UBL or CII), then against the business rules expressed as Schematron. For XRechnung, KoSIT publishes an official validator and the matching rule sets, which invoice portals and many accounting programs also use.

The rules are grouped by prefix. BR rules come from EN 16931 and cover mandatory fields, BR-CO rules check calculations and dependencies, for example whether totals and tax amounts add up. Rules such as BR-S or BR-AE apply to individual VAT categories, and BR-DE rules are the national additions of XRechnung. An error message names the rule, the affected field and an XPath, but the real cause often sits elsewhere, such as a line amount that was rounded incorrectly.

In this category we explain the most common error messages in plain language, show the cause in the XML and how to fix the error for good, in the invoicing software rather than only in a single file. Look up any rule with its fix in the KoSIT error hub, and validate your file for free with the XRechnung viewer, right in your browser, without the file ever leaving your computer.

All articles on this topic

Common ZUGFeRD Validation Errors and How to Fix Them

ZUGFeRD validation errors by category: the exact Mustang and veraPDF messages, what causes them and how to fix profile, PDF/A-3, file name and XML rule errors.

8 min readRead

XRechnung Rounding Errors: Why One Cent Gets an Invoice Rejected

XRechnung rounding errors explained: the BT-131 to BT-115 total chain, a three-line worked example with nine tested variants, and fixes for ERP and code.

7 min readRead

Test an E-Invoice Before Sending: A Four-Level Test Plan

How to test an e-invoice before sending it to a German customer: schema, business rules, content and the recipient portal, with test files and a log template.

8 min readRead

XRechnung 3.0.2 Bugfix Release: What Changed in the Validation Rules

XRechnung 3.0.2 Summer 2026 Bugfix explained: which rules became errors on 31 August 2026, what BR-TMP-2 to BR-TMP-7 check, and how to update your invoice output.

7 min readRead

E-Invoice Format Error, Business Rule Error or Content Error?

E-invoice format error, business rule error or content error: three examples each with the KoSIT rule, the input VAT impact in Germany and a decision table.

8 min readRead

KoSIT Validator: What It Checks and How to Run It

The KoSIT validator explained: validation steps, scenarios, a Java CLI and HTTP example, the report verdict and which configuration matches XRechnung 3.0.2.

7 min readRead

How to Validate a ZUGFeRD PDF: PDF/A-3, XML and Profile Checks

Validate ZUGFeRD PDF files in six steps: PDF/A-3 with veraPDF, the embedded XML, profile, Schematron business rules and VAT content, all with free tools.

7 min readRead

How to Fix the 10 Most Common XRechnung Validation Errors

Fix XRechnung validation errors fast: the 10 most common KoSIT error messages with cause, affected field and XPath, plus what to do when your invoice is rejected.

9 min readRead