Skip to main content
E-Invoice Validator

XRechnung Validator

Upload an XRechnung as XML (UBL or CII) and this free validator checks it against the XML schema, the 224 EN 16931 business rules and the 61 rules of the KoSIT XRechnung Schematron 2.6.0. You get every error with its rule code, where it is in the file and what to change — no sign-up, and the file is not stored.

  • Hosted in the EU
  • GDPR compliant
  • No storage
  • No use of AI
  • No cookies
  • Official EN 16931 regulations
  • Always current official regulations

Your invoice is checked in memory and not stored: no database, no file storage, no cache.

Official rule sets up to date: EN 16931 1.3.17 · Peppol BIS 3.0.20 · XRechnung 3.0.2 (KoSIT 2.6.0). Last checked against the sources on 12.10.2026.

What happens when you upload an XRechnung

  1. 1 · XML schema (XSD)

    The file is checked against the UBL 2.1 or UN/CEFACT CII schema: well-formed XML, namespaces and data types. Structural errors stop the check here.

  2. 2 · EN 16931 business rules

    224 rules from CEN EN 16931 (1.3.17): mandatory fields, totals, VAT breakdown and code lists. Every XRechnung has to pass these first.

  3. 3 · XRechnung rules (KoSIT)

    61 rules from the KoSIT XRechnung Schematron 2.6.0, which belongs to XRechnung 3.0.2: the Leitweg-ID as buyer reference (BT-10), the seller contact, payment details and the rules for the XRechnung extension.

Which rule sets run is decided by the specification identifier in the file, so an XRechnung is never passed on EN 16931 alone. What BT-24 is

UBL or CII: both XRechnung syntaxes

XRechnung exists in two XML syntaxes, UBL 2.1 and UN/CEFACT CII. Both are accepted, and the syntax is detected from the file. A few XRechnung rules apply to only one syntax; the list below says which. A ZUGFeRD or Factur-X PDF can be uploaded too: the XML embedded in it is checked. The limit is 10 MB.

UBL · CII · ZUGFeRD · ZUGFeRD validator · XRechnung or ZUGFeRD?

All 61 XRechnung rules

These are the rules KoSIT adds on top of EN 16931, from Schematron 2.6.0. Each code links to a page with the official text, what it means and how to fix it.

XRechnung rules (KoSIT Schematron) with their meaning and syntax
RuleWhat it requiresSyntax
BR-DE-1An invoice (INVOICE) must contain information about "PAYMENT INSTRUCTIONS" (BG-16).UBL, CII
BR-DE-2The seller contact group (BG-6) is missing. XRechnung requires the seller's contact person, telephone and email.UBL, CII
BR-DE-3The "Seller city" element (BT-37) must be submitted.UBL, CII
BR-DE-4The element "Seller post code" (BT-38) must be submitted.UBL, CII
BR-DE-5The element "Seller contact point" (BT-41) must be submitted.UBL, CII
BR-DE-6The element "Seller contact telephone number" (BT-42) must be submitted.UBL, CII
BR-DE-7The element "Seller contact email address" (BT-43) must be submitted.UBL, CII
BR-DE-8The "Buyer city" element (BT-52) must be submitted.UBL, CII
BR-DE-9The "Buyer post code" element (BT-53) must be submitted.UBL, CII
BR-DE-10The "Deliver to city" (BT-77) element must be delivered when the "DELIVER TO ADDRESS" (BG-15) group is delivered.UBL, CII
BR-DE-11The Deliver to post code element (BT-78) must be submitted when the DELIVER TO ADDRESS group (BG-15) is delivered.UBL, CII
BR-DE-14The element "VAT category rate" (BT-119) must be submitted.UBL, CII
BR-DE-15For XRechnung, the buyer reference (BT-10) is mandatory - for public clients, the Leitweg-ID.UBL, CII
BR-DE-16If tax codes S, Z, E, AE, K, G, L or M are used in an invoice, at least one of the elements "Seller VAT identifier" (BT-31)…UBL, CII
BR-DE-17(warning)The "Invoice type code" (BT-3) element should only be used to transmit the following codes from the UNTDID 1001 code list: 326 (Partial invoice)…UBL, CII
BR-DE-18Cash discount lines in must match this regular expression: . The information for granting a discount must be transmitted in the element "Payment terms"…UBL, CII
BR-DE-19(warning)"Payment account identifier" (BT-84) should contain a correct IBAN if SEPA is required as a means of payment in "Payment means type code" (BT-81) with code 58.UBL, CII
BR-DE-20(warning)"Debited account identifier" (BT-91) should contain a correct IBAN if SEPA is required as a means of payment in "Payment means type code" (BT-81) with code 59.UBL, CII
BR-DE-21(warning)The element "Specification identifier" (BT-24) should syntactically correspond to the identifier of the XRechnung standard.UBL, CII
BR-DE-22The "filename" attribute of all "EmbeddedDocumentBinaryObject" elements must be uniqueUBL, CII
BR-DE-23-aIf BT-81 "Payment means type code" contains a key for transfers (30, 58), BG-17 "CREDIT TRANSFER" must be transmitted.UBL, CII
BR-DE-23-bIf BT-81 "Payment means type code" contains a key for transfers (30, 58), BG-18 and BG-19 may not be transmitted.UBL, CII
BR-DE-24-aIf BT-81 "Payment means type code" contains a key for card payments (48, 54, 55), exactly BG-18 "PAYMENT CARD INFORMATION" must be transmitted.UBL, CII
BR-DE-24-bIf BT-81 "Payment means type code" contains a key for card payments (48, 54, 55), BG-17 and BG-19 may not be transmitted.UBL, CII
BR-DE-25-aIf BT-81 "Payment means type code" contains a key for direct debits (59), exactly BG-19 "DIRECT DEBIT" must be transmitted.UBL, CII
BR-DE-25-bIf BT-81 "Payment means type code" contains a key for direct debits (59), BG-17 and BG-18 may not be transmitted.UBL, CII
BR-DE-26(warning)If code 384 (Corrected invoice) is passed in the "Invoice type code" (BT-3) element, PRECEDING INVOICE REFERENCE BG-3 should be present at least once.UBL, CII
BR-DE-27(warning)BT-42 should contain at least three digits.UBL, CII
BR-DE-28(warning)BT-43 should contain exactly one @ character, which should not be flanked by a space, a period…UBL, CII
BR-DE-30If "DIRECT DEBIT" BG-19 is present, then "Bank assigned creditor identifier" BT-90 must be transmitted.UBL, CII
BR-DE-31If "DIRECT DEBIT" BG-19 is present, then "Debited account identifier" BT-91 must be transmitted.UBL, CII
BR-DE-CVD-01The "Contract reference" element (BT-12) must be submitted.UBL, CII
BR-DE-CVD-02The element "Tender or lot reference" (BT-17) must be submitted.UBL, CII
BR-DE-CVD-03An invoice must contain at least one INVOICE LINE (BG-25) in which the Scheme identifier of "Item classification identifier" (BT-158) contains the value 'CVD'…UBL, CII
BR-DE-CVD-04An "Item classification identifier" (BT-158) with the Scheme identifier 'CVD' must contain a value from the list of permitted vehicle categories.UBL, CII
BR-DE-CVD-05If within ITEM ATTRIBUTES (BG-32) the "Item attribute name" (BT-160) has the value 'cva'…UBL, CII
BR-DE-CVD-06-aIf the scheme identifier of "Item classification identifier" (BT-158) is specified with the value 'CVD'…UBL, CII
BR-DE-CVD-06-bIf "Item attribute name" (BT-160) is specified with the value 'cva', there must be exactly one "Item classification identifier" (BT-158) with the scheme…UBL, CII
BR-DE-TMP-32(warning)An invoice should contain either BT-72 "Actual delivery date", BG-14 "Invoicing period" or BG-26 "Invoice line period" in each invoice item to indicate…UBL, CII
BR-DEX-01The Attached Document element (BT-125) uses an illegal MIME code: . In the case of an extension…UBL, CII
BR-DEX-02(warning)The value of "Invoice line net amount" (BT-131) of an "INVOICE LINE" (BG-25) or a "SUB INVOICE LINE" (BG-DEX-01) should correspond to the sum of the "Invoice…UBL
BR-DEX-03A Sub Invoice Line (BG-DEX-01) must contain exactly one "SUB INVOICE LINE VAT INFORMATION" (BG-DEX-06).UBL
BR-DEX-04Any scheme identifier in MUST be coded using one of the ISO 6523 ICD list.UBL, CII
BR-DEX-05Any scheme identifier in MUST be coded using one of the ISO 6523 ICD list.UBL, CII
BR-DEX-06Any scheme identifier in MUST be coded using one of the ISO 6523 ICD list.UBL, CII
BR-DEX-07Any scheme identifier for an Endpoint Identifier in MUST belong to the CEF EAS code list.UBL, CII
BR-DEX-08Any scheme identifier for a Delivery location identifier in MUST be coded using one of the ISO 6523 ICD list.UBL, CII
BR-DEX-09Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) - Paid amount (BT-113) + Rounding amount (BT-114) + Σ Third party payment amount…UBL
BR-DEX-10The element "Third party payment type" BT-DEX-001 must be submitted when the group "THIRD PARTY PAYMENT" (BG-DEX-09) is submitted.UBL
BR-DEX-11The element "Third party payment amount" BT-DEX-002 must be submitted when the group "THIRD PARTY PAYMENT" (BG-DEX-09) is submitted.UBL
BR-DEX-12The element "Third party payment description" BT-DEX-003 must be submitted when the group "THIRD PARTY PAYMENT" (BG-DEX-09) is submitted.UBL
BR-DEX-13The maximum number of decimal places allowed for the "Third party payment amount" element (BT-DEX-002) is 2.UBL
BR-DEX-14The currency specification of "Third party payment amount" BT-DEX-002 must correspond to BT-5 ("Invoice currency code").UBL
BR-DEX-15(warning)This CII file might use the concept of Sub Invoice Lines. However, XRechnung does not support this.CII
BR-TMP-2BT-124 "External document location" must contain an absolute URL with a valid schema.UBL, CII
BR-TMP-3If BT-149 (Item price base quantity) exists in both GrossPriceProductTradePrice and NetPriceProductTradePrice…CII
BR-TMP-4(warning)BT-123 "Supporting document description" (ram:Name) may occur at most once within "Additional supporting documents" (BG-24).CII
BR-TMP-5(warning)BT-125 "Attached document" (ram:AttachmentBinaryObject) may occur at most once within "Additional Supporting documents" (BG-24).CII
BR-TMP-6(warning)Dates in UBL must be submitted in YYYY-MM-DD (YYYY-MM-DD) format.UBL
BR-TMP-7(warning)Dates in UNCEFACT/CII must have the attribute format="102" and be transmitted in the format YYYYMMDD (YYYYMMDD).CII
BR-TMP-CVD-01The formation scheme for "Item classification identifier" (BT-158) is to be selected from the code list UNTDID 7143.UBL, CII

All error codes, including EN 16931 and Peppol

Before you send it to a public-sector buyer

A pass here means the file meets the XRechnung rules. It does not prove the content is right for this buyer: the Leitweg-ID has to be the one the buyer gave you, and an order number they asked for has to match. Check those by hand.

Frequently asked questions

Is the XRechnung validator free?

Yes. There is no sign-up and no limit on how many invoices you check.

Which XRechnung version is checked?

XRechnung 3.0.2, with the KoSIT Schematron 2.6.0 and the CEN EN 16931 rules 1.3.17. The versions are shown with every result.

Is my invoice stored?

No. The file is checked in memory and then discarded. There is no database of invoice content, and the site sets no tracking cookies.

Is this the official KoSIT validator?

No. KoSIT publishes its own validator as software you run yourself. This one is independent and runs the same official Schematron rules on this site, with an explanation for each error.

Does a pass mean the buyer will accept the invoice?

Not on its own. It means the file meets EN 16931 and the XRechnung rules. The buyer can still reject it for content: a wrong Leitweg-ID, a missing order number or a price that does not match the order.

The KoSIT validator is KoSIT's own reference implementation. This service is an independent validator and is not affiliated with KoSIT. KoSIT validator