XRechnung BR-DE rules, explained one by one

The BR-DE rules of XRechnung 3.0.2, one by one: KoSIT’s message, the field each rule checks (BT-10, BT-24, BT-20 and more), the usual cause and the fix in UBL and CII. Leitweg-ID included.

  • Updated 27 November 2026
  • 56 min read
  • In English, French and German

In short

The BR-DE rules are the German business rules of XRechnung. XRechnung is the version of the European standard EN 16931 for public buyers in Germany: a core invoice usage specification (CIUS) with an extension, maintained by the Coordination Office for IT Standards (KoSIT) on behalf of the IT Planning Council (IT-Planungsrat). The rules make fields mandatory that EN 16931 leaves optional, such as the buyer reference (BT-10), which is where a public body expects its Leitweg-ID (the routing ID of German public buyers), or the seller's telephone number and email address. Every XRechnung is also an EN 16931 invoice. The reverse is not true.

This page follows XRechnung 3.0.2 and KoSIT's validation files with the XRechnung schematron 2.6.0 of 31 August 2026. It explains all 61 rule codes in those files: the national rules BR-DE-1 to BR-DE-31, the temporary rules (BR-DE-TMP-32 and BR-TMP), the rules for clean vehicles (CVD) and the rules of the extension (BR-DEX). Of these, 47 are errors, 13 are warnings and one is an information message.

Under each rule you will find, in one sentence, what it asks for, then the message word for word from KoSIT's validation files (Apache 2.0 licence, see Sources) with an English translation where it is in German, the level, the fields, the usual cause and the fix, with the path in UBL and in CII.

The validator checks whether your file meets the rules: upload the XRechnung as XML (UBL or CII) or a ZUGFeRD PDF. Each finding gives the level, the code, the message and the place in the file.

Error, warning, information

Each rule has a level. The specification uses "muss" (must) for a binding requirement and "soll" (should) for a recommendation. In the validation files, every "must" rule is an error (fatal) and every "should" rule a warning (warning). BR-DE-TMP-32 ("sollte", ought to) is an information message (information). The temporary rules BR-TMP-4 to BR-TMP-7 are worded as requirements but are only warnings for now.

Level in the reportLevel in the fileAssessment in KoSIT's validation report
Errorfatal"Es wird empfohlen das Dokument zurückzuweisen." (It is recommended to reject the document.)
Warningwarningdoes not change the assessment
Informationinformationdoes not change the assessment

If an invoice has no error, the assessment reads: "Es wird empfohlen das Dokument anzunehmen und weiter zu verarbeiten." (It is recommended to accept the document and process it further.) The specification makes the point: "Die Entscheidung über die Annahme liegt jedoch letztlich bei der rechnungsempfangenden Stelle." (The decision to accept it, however, ultimately rests with the body receiving the invoice.) Invoices that come in through the federal administration portal are checked automatically for formal errors, and an invoice with a formal error is rejected (§ 4 paragraph 3 of the E-Invoicing Ordinance, ERechV). The federal invoice receipt platform, OZG-RE, shows the validation report with the formal errors before you send.

When the rules apply

Public buyers. Invoices to the federal government must be electronic (§ 3 ERechV). XRechnung is the format to use as a rule; another standard is allowed if it complies with EN 16931 (§ 4 paragraph 1 ERechV). The exceptions include invoices for direct awards of up to 1,000 euros. The ERechV covers the federal government; the federal states (Länder) have rules of their own. Under § 5 ERechV, every invoice to the federal government needs, among other things, a Leitweg-ID, the bank details, the payment terms and the supplier's email address. In an XRechnung these go in BT-10, BG-17 or BG-19, BT-9 or BT-20, and BT-43, and several BR-DE rules require exactly these fields.

Between businesses. XRechnung is not compulsory here, but it is an accepted format: it complies with EN 16931 and so meets the requirements for e-invoices between businesses. No Leitweg-ID is needed. An XRechnung sent to a business is still checked against all the rules on this page, BR-DE-15 included: the buyer reference (BT-10) stays mandatory and then holds a reference that the buyer gives you.

Which file is checked. KoSIT's validator picks the rules by the specification identifier (BT-24). If an invoice declares the identifier of XRechnung, of the extension or of the CVD invoice, it is checked against the rules on this page, whoever the buyer is. An invoice with the identifier of plain EN 16931 (urn:cen.eu:en16931:2017) is checked only against the EN 16931 rules, without BR-DE.

Checking an invoice

The validator checks an invoice first against its schema and then against the rules of the profile it declares in BT-24. If it declares XRechnung, it also checks the BR-DE rules, with the same KoSIT validation files (XRechnung 3.0.2, schematron 2.6.0). For any other invoice, such as a ZUGFeRD PDF in the EN 16931 profile, choose Germany under "Rules of a country": the report then shows, for information, what the XRechnung rules would report. In that case BR-DE-21 always appears, because BT-24 is not an XRechnung identifier. The rules only run once the invoice passes the schema check.

Besides the rules on this page, the XRechnung files contain Peppol rules that XRechnung 3.0 took over and that keep their names, such as PEPPOL-EN16931-R010 for the buyer's electronic address (BT-49). The EN 16931 rules (BR-01, BR-CO-10 and so on) run before them. Neither is covered on this page.

All the rules at a glance

RuleFieldLevelWhat it asks for
BR-DE-1BG-16ErrorAt least one payment instruction
BR-DE-2BG-6ErrorA seller contact
BR-DE-3BT-37ErrorThe seller's city
BR-DE-4BT-38ErrorThe seller's postcode
BR-DE-5BT-41ErrorThe name of the seller's contact point
BR-DE-6BT-42ErrorThe seller's telephone number
BR-DE-7BT-43ErrorThe seller's email address
BR-DE-8BT-52ErrorThe buyer's city
BR-DE-9BT-53ErrorThe buyer's postcode
BR-DE-10BT-77ErrorThe city of a delivery address
BR-DE-11BT-78ErrorThe postcode of a delivery address
BR-DE-14BT-119ErrorThe rate in every VAT breakdown, 0 included
BR-DE-15BT-10ErrorThe buyer reference; for public bodies, the Leitweg-ID
BR-DE-16BT-31, BT-32, BG-11ErrorThe seller's VAT ID, tax number or tax representative
BR-DE-17BT-3WarningOne of eight invoice types
BR-DE-18BT-20ErrorSkonto exactly in the form #SKONTO#TAGE=n#PROZENT=n.nn#
BR-DE-19BT-84WarningA valid IBAN for a SEPA credit transfer (code 58)
BR-DE-20BT-91WarningA valid IBAN for a SEPA direct debit (code 59)
BR-DE-21BT-24WarningThe XRechnung 3.0 identifier
BR-DE-22BT-125ErrorDifferent file names for the attachments
BR-DE-23-aBG-17ErrorFor a credit transfer (30, 58), the payee's account
BR-DE-23-bBG-18, BG-19ErrorFor a credit transfer, no card and no direct debit
BR-DE-24-aBG-18ErrorFor a card payment (48, 54, 55), the card
BR-DE-24-bBG-17, BG-19ErrorFor a card payment, no account and no direct debit
BR-DE-25-aBG-19ErrorFor a direct debit (59), the direct debit details
BR-DE-25-bBG-17, BG-18ErrorFor a direct debit, no payee account and no card
BR-DE-26BG-3WarningFor a corrected invoice (384), the original invoice
BR-DE-27BT-42WarningAt least three digits in the telephone number
BR-DE-28BT-43WarningAn email address in a valid form
BR-DE-30BT-90ErrorFor a direct debit, the creditor ID
BR-DE-31BT-91ErrorFor a direct debit, the buyer's account
BR-DE-TMP-32BT-72, BG-14, BG-26InformationA delivery or service date
BR-TMP-2BT-124ErrorAn absolute URL for an external attachment
BR-TMP-3BT-149, BT-150ErrorCII only: the same base quantity in the gross and net price
BR-TMP-4BT-123WarningCII only: at most one description per attachment
BR-TMP-5BT-125WarningCII only: at most one file per attachment
BR-TMP-6Date fieldsWarningUBL only: every date as YYYY-MM-DD
BR-TMP-7Date fieldsWarningCII only: every date as YYYYMMDD with format="102"
BR-DE-CVD-01BT-12ErrorCVD: the contract reference
BR-DE-CVD-02BT-17ErrorCVD: the tender or lot identifier
BR-DE-CVD-03BT-158, BT-160ErrorCVD: at least one vehicle line
BR-DE-CVD-04BT-158ErrorCVD: a vehicle category M1, M2, M3, N1, N2 or N3
BR-DE-CVD-05BT-161ErrorCVD: cva set to clean, zero-emission or other
BR-DE-CVD-06-aBT-158, BT-160ErrorCVD: exactly one cva attribute for the vehicle category
BR-DE-CVD-06-bBT-160, BT-158ErrorCVD: exactly one vehicle category for the cva attribute
BR-TMP-CVD-01BT-158ErrorCVD: a classification scheme from UNTDID 7143, or CVD
BR-DEX-01BT-125ErrorExtension: an allowed MIME code, application/xml included
BR-DEX-02BT-131WarningExtension, UBL only: line amount equal to the sum of its sub-lines
BR-DEX-03BG-DEX-06ErrorExtension, UBL only: exactly one VAT category per sub-line
BR-DEX-04BT-29, BT-46, BT-60ErrorExtension: party identifier scheme from ISO 6523 ICD
BR-DEX-05BT-30, BT-47, BT-61ErrorExtension: registration identifier scheme from ISO 6523 ICD
BR-DEX-06BT-157ErrorExtension: item identifier scheme from ISO 6523 ICD
BR-DEX-07BT-34, BT-49ErrorExtension: electronic address scheme from EAS
BR-DEX-08BT-71ErrorExtension: delivery location identifier scheme from ISO 6523 ICD
BR-DEX-09BT-115ErrorExtension, UBL only: amount due including third-party payments
BR-DEX-10BT-DEX-001ErrorExtension, UBL only: the type of a third-party payment
BR-DEX-11BT-DEX-002ErrorExtension, UBL only: the amount of a third-party payment
BR-DEX-12BT-DEX-003ErrorExtension, UBL only: the description of a third-party payment
BR-DEX-13BT-DEX-002ErrorExtension, UBL only: at most two decimals
BR-DEX-14BT-DEX-002ErrorExtension, UBL only: the same currency as the invoice
BR-DEX-15BG-DEX-01WarningExtension, CII only: no sub-lines

Mandatory details: BR-DE-1 to BR-DE-15

These rules require details that EN 16931 leaves optional, so they share a typical cause: the invoice was made to EN 16931, for example as ZUGFeRD in the EN 16931 profile, and only labelled as an XRechnung afterwards. All are errors, and they apply to every invoice and every credit note. For the individual fields, an element that holds only spaces counts as missing.

Two numbers are missing. BR-DE-12 is in the specification ('Mit dem Element "Deliver to post code" (BT-78) muss eine Postleitzahl übermittelt werden.', that is, a postcode must be given in "Deliver to post code", BT-78) but has no check in the files. BR-DE-13 was withdrawn and replaced by BR-DE-23, BR-DE-24 and BR-DE-25.

BR-DE-1: Payment instructions

The invoice must contain at least one payment instruction (BG-16). Level: error. The rule only checks that the group is there. It also applies to a credit note and to an invoice that has already been paid.

Eine Rechnung (INVOICE) muss Angaben zu "PAYMENT INSTRUCTIONS" (BG-16) enthalten. Translation: An invoice (INVOICE) must contain "PAYMENT INSTRUCTIONS" (BG-16).

Usual cause: the invoice names no means of payment because it has already been paid or is a credit note. Fix: give the payment means with its code (BT-81), for example 58 for a SEPA credit transfer: in UBL cac:PaymentMeans with cbc:PaymentMeansCode, in CII ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans with ram:TypeCode. For an invoice that has been paid, give the means of payment that was used. BR-DE-23 to BR-DE-25 set what goes with each code.

BR-DE-2: Seller contact

The invoice must contain a seller contact group (BG-6). Level: error, in every invoice.

Die Gruppe "SELLER CONTACT" (BG-6) muss übermittelt werden. Translation: The group "SELLER CONTACT" (BG-6) must be provided.

Usual cause: the seller is on the invoice with name and address, but without a contact. Fix: add the group, in UBL as cac:AccountingSupplierParty/cac:Party/cac:Contact, in CII as ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:DefinedTradeContact. Fill in the name, telephone number and email address while you are there: BR-DE-5, BR-DE-6 and BR-DE-7 require all three.

BR-DE-3: Seller city

The seller's address must contain a city (BT-37). Level: error. The rule checks every seller address (BG-5). If the address is missing altogether, EN 16931 already reports it (BR-08).

Das Element "Seller city" (BT-37) muss übermittelt werden. Translation: The element "Seller city" (BT-37) must be provided.

Usual cause: the city is in the street line, or missing. Fix: write the city in UBL in cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:CityName, in CII in ram:SellerTradeParty/ram:PostalTradeAddress/ram:CityName.

BR-DE-4: Seller postcode

The seller's address must contain a postcode (BT-38). Level: error, for every seller address.

Das Element "Seller post code" (BT-38) muss übermittelt werden. Translation: The element "Seller post code" (BT-38) must be provided.

Usual cause: the postcode and the city sit together in the city field, as in "10115 Berlin" or "London SW1A 1AA". Fix: separate them. The postcode goes in UBL in cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:PostalZone, in CII in ram:SellerTradeParty/ram:PostalTradeAddress/ram:PostcodeCode.

BR-DE-5: Seller contact point

The seller contact must name a contact point (BT-41), a person or a department. Level: error. The rule only checks a contact that is there. If the group is missing altogether, BR-DE-2 reports it.

Das Element "Seller contact point" (BT-41) muss übermittelt werden. Translation: The element "Seller contact point" (BT-41) must be provided.

Usual cause: the contact holds only a telephone number and an email address. Fix: in UBL, add cac:Contact/cbc:Name. In CII, add ram:DefinedTradeContact/ram:PersonName or ram:DepartmentName; the CII check accepts either. A department name such as "Accounts" is enough.

BR-DE-6: Seller telephone number

The seller contact must contain a telephone number (BT-42). Level: error, when the contact is there.

Das Element "Seller contact telephone number" (BT-42) muss übermittelt werden. Translation: The element "Seller contact telephone number" (BT-42) must be provided.

Usual cause: the software has no telephone number for the seller and leaves the field out. Fix: in UBL cac:Contact/cbc:Telephone, in CII ram:DefinedTradeContact/ram:TelephoneUniversalCommunication/ram:CompleteNumber. The number should have at least three digits, or the warning BR-DE-27 follows. A missing number triggers both rules.

BR-DE-7: Seller email address

The seller contact must contain an email address (BT-43). Level: error, when the contact is there. For invoices to the federal government, § 5 ERechV also requires an email or De-Mail address of the supplier.

Das Element "Seller contact email address" (BT-43) muss übermittelt werden. Translation: The element "Seller contact email address" (BT-43) must be provided.

Usual cause: the email address is on the invoice only as the seller's electronic address (BT-34), not in the contact. Fix: in UBL cac:Contact/cbc:ElectronicMail, in CII ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID. The warning BR-DE-28 checks the form of the address. A missing address triggers both rules.

BR-DE-8: Buyer city

The buyer's address must contain a city (BT-52). Level: error, for every buyer address (BG-8). If the address is missing altogether, EN 16931 already reports it (BR-10).

Das Element "Buyer city" (BT-52) muss übermittelt werden. Translation: The element "Buyer city" (BT-52) must be provided.

Usual cause: as for BR-DE-3, here on the buyer's side. Fix: in UBL cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:CityName, in CII ram:BuyerTradeParty/ram:PostalTradeAddress/ram:CityName.

BR-DE-9: Buyer postcode

The buyer's address must contain a postcode (BT-53). Level: error, for every buyer address.

Das Element "Buyer post code" (BT-53) muss übermittelt werden. Translation: The element "Buyer post code" (BT-53) must be provided.

Usual cause: as for BR-DE-4, the postcode is in the city field. Fix: in UBL cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:PostalZone, in CII ram:BuyerTradeParty/ram:PostalTradeAddress/ram:PostcodeCode.

BR-DE-10: Delivery address city

If the invoice has a delivery address (BG-15), that address must contain a city (BT-77). Level: error. Without a delivery address the rule does not apply.

Das Element "Deliver to city" (BT-77) muss übermittelt werden, wenn die Gruppe "DELIVER TO ADDRESS" (BG-15) übermittelt wird. Translation: The element "Deliver to city" (BT-77) must be provided if the group "DELIVER TO ADDRESS" (BG-15) is provided.

Usual cause: the software writes a delivery address that holds only the country. Fix: fill in the city in UBL in cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:CityName, in CII in ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:PostalTradeAddress/ram:CityName. If there is no separate delivery address, remove the group.

BR-DE-11: Delivery address postcode

If the invoice has a delivery address (BG-15), that address must contain a postcode (BT-78). Level: error, only with a delivery address.

Das Element "Deliver to post code" (BT-78) muss übermittelt werden, wenn die Gruppe "DELIVER TO ADDRESS" (BG-15) übermittelt wird. Translation: The element "Deliver to post code" (BT-78) must be provided if the group "DELIVER TO ADDRESS" (BG-15) is provided.

Usual cause: as for BR-DE-10. Fix: in UBL cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:PostalZone, in CII ram:ShipToTradeParty/ram:PostalTradeAddress/ram:PostcodeCode, or remove the empty delivery address.

BR-DE-14: VAT rate in the breakdown

Every VAT breakdown (BG-23) must contain a VAT rate (BT-119), even when it is 0. Level: error. The rule applies to every category, including exempt supplies (E), reverse charge (AE), intra-community supplies (K), exports (G) and the zero rate (Z).

Das Element "VAT category rate" (BT-119) muss übermittelt werden. Translation: The element "VAT category rate" (BT-119) must be provided.

Usual cause: the software leaves the rate out when no VAT is due. Fix: write the rate, 0 for these categories, in UBL in cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Percent, in CII in ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax/ram:RateApplicablePercent. The specification shows this with a German small business (Kleinunternehmer under § 19 of the VAT Act): category E, rate 0.

BR-DE-15: Buyer reference (Leitweg-ID)

The invoice must contain a buyer reference (BT-10). Level: error, in every XRechnung, between businesses too. The rule only checks that the field holds some text, not what it says.

Das Element "Buyer reference" (BT-10) muss übermittelt werden. Translation: The element "Buyer reference" (BT-10) must be provided.

In EN 16931 the buyer reference is optional. In an invoice to the federal government it is mandatory, because that is where the Leitweg-ID goes (§ 5 ERechV). Usual cause: the invoice was made without a Leitweg-ID, or the buyer's reference is in another field, such as the purchase order reference (BT-13). Fix: in UBL cbc:BuyerReference directly under the root element, in CII ram:ApplicableHeaderTradeAgreement/ram:BuyerReference. For a public body, write the Leitweg-ID it gave you with the order. Between businesses, write a reference that the buyer gives you. The next section explains how a Leitweg-ID is built.

The Leitweg-ID

The Leitweg-ID (literally "routing ID") addresses an e-invoice to a public body: the federal government, a federal state or a local authority. In an XRechnung it goes in the buyer reference (BT-10), the field that BR-DE-15 requires. Every electronic invoice to the federal administration must carry it.

Where the Leitweg-ID comes from

  • From the buyer. The public body gives it to you in advance, for example with the contract award or the order. Use only the Leitweg-ID it gave you for this contract. If you do not have it, ask the buyer.
  • No database. The federal government and the states each issue their own Leitweg-IDs. There is no nationwide database of all Leitweg-IDs.
  • None of your own. The Leitweg-ID addresses the recipient. Suppliers do not need one of their own.
  • Not between businesses. Invoices to businesses need no Leitweg-ID. BT-10 can hold any other suitable identifier that the buyer uses to route invoices internally; BT-10 is a plain text field without a scheme.
  • Federal states and local authorities may give their suppliers a routing pattern of their own instead of the Leitweg-ID. It then goes in BT-10 as well.

Structure

A Leitweg-ID has three parts: the coarse address (Grobadressierung), the fine address (Feinadressierung) and the check digits (Prüfziffer). The coarse address and the check digits are mandatory; the fine address is optional. A hyphen (the plain keyboard hyphen "-", not a dash "–" such as Word often inserts automatically) comes before the fine address, if there is one, and always before the check digits. With the hyphens, a Leitweg-ID is 5 to 46 characters long.

PartLengthContent
Coarse address2 to 12 digits, mandatoryCode of the federal state or of the federal government (2 digits), then if needed the administrative region (Regierungsbezirk, 1 digit), the district (Landkreis, 2) and the municipality (Gemeinde, 3, 4 or 7)
Fine addressup to 30 characters, optionalLetters A to Z, upper and lower case treated alike, and digits. The federal government and each state set it themselves; starting it with a letter is recommended
Check digits2 digits, mandatorycalculated from the coarse and fine address

The first digits

The first two digits name the federal state or the federal government: 01 Schleswig-Holstein, 02 Hamburg, 03 Lower Saxony, 04 Bremen, 05 North Rhine-Westphalia, 06 Hesse, 07 Rhineland-Palatinate, 08 Baden-Württemberg, 09 Bavaria, 10 Saarland, 11 Berlin, 12 Brandenburg, 13 Mecklenburg-Western Pomerania, 14 Saxony, 15 Saxony-Anhalt, 16 Thuringia, 99 federal government. For the federal government, the third digit says how the recipient receives invoices:

Starts withRecipient
991Part of the direct federal administration or a constitutional body, receiving through the OZG-RE
992Part of the indirect federal administration, receiving through the OZG-RE
993Part of the indirect federal administration, receiving through a solution of its own

The OZG-RE is the federal government's invoice receipt platform. For bodies connected to it, the Peppol participant identifier is the Leitweg-ID with the prefix 0204, such as 0204:99661-WEBSERVICEOZG-28. 0204 is the ICD value of the Leitweg-ID.

The check digits

The check digits are calculated with ISO/IEC 7064, method MOD 97-10, as for an IBAN. The example in the format specification is 04011000-1234512345-06:

  1. Join the coarse and fine address without hyphens: 040110001234512345. Letters are replaced by numbers, A = 10, B = 11 and so on up to Z = 35.
  2. Append two zeros: 04011000123451234500.
  3. Divide by 97. The remainder is 92.
  4. Subtract the remainder from 98: 98 − 92 = 06. These are the check digits.

To check a Leitweg-ID, divide the whole ID without hyphens by 97, here 04011000123451234506. If the remainder is 1, the check digits are right. This also works for 99661-WEBSERVICEOZG-28, whose fine address contains letters.

What is checked

BR-DE-15 only checks that BT-10 holds some text. KoSIT's validation files check neither the structure nor the check digits of a Leitweg-ID. The OZG-RE does: according to its FAQ, its error message "Leitweg-ID ist nicht valide" (the Leitweg-ID is not valid) comes, for example, from misplaced hyphens or from spaces before or after the Leitweg-ID. So before you send, check that the Leitweg-ID is in BT-10 exactly as the buyer gave it, with no spaces.

Tax number, invoice type and identifier

Four rules concern the seller's tax details, the type of document and the specification identifier. Only BR-DE-16 is an error; the other three are warnings.

BR-DE-16: Tax number or VAT ID

If one of the VAT categories S, Z, E, AE, K, G, L or M is used, the invoice must contain the seller's VAT ID (BT-31) or tax number (BT-32), or the seller's tax representative (BG-11). Level: error. In practice the rule affects almost every invoice. It only stays silent when none of the categories it checks occurs, for example when everything is in category O (outside the scope of VAT).

Wenn in einer Rechnung die Steuercodes S, Z, E, AE, K, G, L oder M verwendet werden, muss mindestens eines der Elemente "Seller VAT identifier" (BT-31), "Seller tax registration identifier" (BT-32) oder "SELLER TAX REPRESENTATIVE PARTY" (BG-11) übermittelt werden. Translation: If the 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), "Seller tax registration identifier" (BT-32) or "SELLER TAX REPRESENTATIVE PARTY" (BG-11) must be provided.

In UBL the categories of the lines (BT-151) and of the document-level allowances and charges (BT-95, BT-102) count. In CII only the categories of the lines count. The VAT breakdown (BT-118) is not looked at. Usual cause: the tax number (in Germany the Steuernummer) is only in free text or in the PDF. A German small business (Kleinunternehmer) needs it too: its invoice uses category E. Fix: in UBL cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID, for the VAT ID with cac:TaxScheme/cbc:ID set to VAT, for the tax number in a second cac:PartyTaxScheme with another scheme, such as FC. In CII ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID with schemeID="VA" for the VAT ID or schemeID="FC" for the tax number. A tax representative goes in cac:TaxRepresentativeParty (UBL) or ram:SellerTaxRepresentativeTradeParty (CII).

BR-DE-17: Invoice type

The invoice type code (BT-3) should be one of eight codes: 326, 380, 384, 389, 381, 875, 876 or 877. Level: warning. Any other code that EN 16931 allows (BR-CL-01) only gives this warning.

Mit dem Element "Invoice type code" (BT-3) sollen ausschließlich folgende Codes aus der Codeliste UNTDID 1001 übermittelt werden: 326 (Partial invoice), 380 (Commercial invoice), 384 (Corrected invoice), 389 (Self-billed invoice) und 381 (Credit note),875 (Partial construction invoice), 876 (Partial final construction invoice), 877 (Final construction invoice). Translation: Only the following codes from the UNTDID 1001 code list should be provided in the element "Invoice type code" (BT-3): 326 (Partial invoice), 380 (Commercial invoice), 384 (Corrected invoice), 389 (Self-billed invoice) and 381 (Credit note), 875 (Partial construction invoice), 876 (Partial final construction invoice), 877 (Final construction invoice).

CodeType
326Partial invoice (Teilrechnung)
380Commercial invoice (Rechnung)
384Corrected invoice (Rechnungsberichtigung); it names the original invoice, see BR-DE-26
389Self-billed invoice, issued by the buyer (in German a Gutschrift, under § 14 paragraph 2 sentence 2 of the VAT Act)
381Credit note (kaufmännische Gutschrift)
875Partial construction invoice (Abschlagsrechnung für Bauleistungen)
876Partial final construction invoice (Teilschlussrechnung für Bauleistungen)
877Final construction invoice (Schlussrechnung für Bauleistungen)

Usual cause: a type that is not on the list, such as 386 for a prepayment invoice. Fix: choose the matching code from the table, in UBL in cbc:InvoiceTypeCode or, for a credit note, cbc:CreditNoteTypeCode, in CII in rsm:ExchangedDocument/ram:TypeCode. If none fits, the warning stays; it does not change the assessment in the validation report.

BR-DE-21: XRechnung identifier

The specification identifier (BT-24) should be exactly one of the XRechnung 3.0 identifiers. Level: warning. The values are compared character by character.

Das Element "Specification identifier" (BT-24) soll syntaktisch der Kennung des Standards XRechnung entsprechen. Translation: The element "Specification identifier" (BT-24) should match the syntax of the identifier of the XRechnung standard.

These three identifiers are allowed, for XRechnung, for the extension and for the CVD invoice:

urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0
urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0#conformant#urn:xeinkauf.de:kosit:extension:xrechnung_3.0
urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0#compliant#urn:xeinkauf.de:kosit:xrechnung:cvd_0.9

Usual causes: the identifier of an older version, such as XRechnung 2.3, which has not been valid since 1 February 2024; the identifier of plain EN 16931; a space or line break before or after the identifier. Fix: in UBL cbc:CustomizationID, in CII rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter/ram:ID. KoSIT's validator uses this identifier to decide whether to run the XRechnung rules at all; with any other identifier, they do not run there. So BR-DE-21 shows up mainly in tools that apply the rules to every invoice. An invoice that is not meant to be an XRechnung does not need this identifier.

BR-DE-26: Corrected invoice

If the invoice has type 384 (corrected invoice), it should name at least one preceding invoice (BG-3). Level: warning. Only for type 384.

Wenn im Element "Invoice type code" (BT-3) der Code 384 (Corrected invoice) übergeben wird, soll PRECEDING INVOICE REFERENCE BG-3 mind. einmal vorhanden sein. Translation: If the code 384 (Corrected invoice) is given in the element "Invoice type code" (BT-3), PRECEDING INVOICE REFERENCE BG-3 should be present at least once.

In the CII file the quotation marks are missing:

Wenn im Element Invoice type code (BT-3) der Code 384 (Corrected invoice) übergeben wird, soll PRECEDING INVOICE REFERENCE BG-3 mind. einmal vorhanden sein. Translation: the same message, without the quotation marks.

Usual cause: the correction names the original invoice only in the text. Fix: in UBL cac:BillingReference/cac:InvoiceDocumentReference with cbc:ID (BT-25) and cbc:IssueDate (BT-26), in CII ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument with ram:IssuerAssignedID and ram:FormattedIssueDateTime.

Payment details

The payment means code (BT-81) decides which group a payment instruction needs and which it must not have. The rules compare the code without leading or trailing spaces. None of these rules applies to other codes, such as 10 (cash).

BT-81Payment meansRequiredNot allowedRules
30, 58Credit transfer, 58 for SEPABG-17, the payee's accountBG-18, BG-19BR-DE-23-a, BR-DE-23-b, for 58 also BR-DE-19
48, 54, 55Bank card, credit card, debit cardBG-18, the cardBG-17, BG-19BR-DE-24-a, BR-DE-24-b
59SEPA direct debitBG-19, with the creditor ID (BT-90) and the buyer's account (BT-91)BG-17, BG-18BR-DE-25-a, BR-DE-25-b, BR-DE-30, BR-DE-31, BR-DE-20

In UBL the direct debit (BG-19) is a group inside the payment instruction: cac:PaymentMeans/cac:PaymentMandate. CII has no such group. The mandate reference (BT-89) is in ram:SpecifiedTradePaymentTerms/ram:DirectDebitMandateID, the creditor ID (BT-90) in ram:ApplicableHeaderTradeSettlement/ram:CreditorReferenceID, and the buyer's account (BT-91) in the payment instruction. The CII checks treat any of these three fields as a direct debit, even at document level. That is why, in CII, every invoice that offers a credit transfer or a card alongside a direct debit fails.

BR-DE-29 was dropped in XRechnung 3.0.0. The Peppol rule PEPPOL-EN16931-R061 now checks the mandate reference of a direct debit.

BR-DE-18: Skonto (early payment discount)

A Skonto line in the payment terms (BT-20) must follow exactly the pattern #SKONTO#TAGE=n#PROZENT=n.nn# and end with a line break. Level: error. The rule only checks lines that start with #. Payment terms without such a line always pass.

Skonto Zeilen in <xsl:value-of select="name()"/> müssen diesem regulärem Ausdruck entsprechen: <xsl:value-of select="$XR-SKONTO-REGEX"/>. Die Informationen zur Gewährung von Skonto müssen wie folgt im Element "Payment terms" (BT-20) übermittelt werden: Anzugeben ist im ersten Segment "SKONTO", im zweiten "TAGE=n", im dritten "PROZENT=n". Prozentzahlen sind ohne Vorzeichen sowie mit Punkt getrennt von zwei Nachkommastellen anzugeben. Liegt dem zu berechnenden Betrag nicht BT-115, "fälliger Betrag" zugrunde, sondern nur ein Teil des fälligen Betrags der Rechnung, ist der Grundwert zur Berechnung von Skonto als viertes Segment "BASISBETRAG=n" gemäß dem semantischen Datentypen Amount anzugeben. Jeder Eintrag beginnt mit einer #, die Segmente sind mit einer # getrennt und eine Zeile schließt mit einer # ab. Am Ende einer vollständigen Skontoangabe muss ein XML-konformer Zeilenumbruch folgen. Alle Angaben zur Gewährung von Skonto müssen in Großbuchstaben gemacht werden. Zusätzliches Whitespace (Leerzeichen, Tabulatoren oder Zeilenumbrüche) ist nicht zulässig. Andere Zeichen oder Texte als in den oberen Vorgaben genannt sind nicht zulässig. Translation: Skonto lines in [element] must match this regular expression: [expression]. The details of a Skonto granted must be provided in the element "Payment terms" (BT-20) as follows: the first segment is "SKONTO", the second "TAGE=n" (days), the third "PROZENT=n" (percent). Percentages are given without a sign and with two decimal places after a point. If the amount to be calculated is not based on BT-115, "Amount due for payment", but only on part of the amount due on the invoice, the base value for calculating the Skonto must be given as a fourth segment "BASISBETRAG=n" (base amount), following the semantic data type Amount. Each entry starts with a #, the segments are separated by a #, and a line ends with a #. A complete Skonto entry must be followed by an XML-compliant line break. All Skonto details must be in capital letters. Additional whitespace (spaces, tabs or line breaks) is not allowed. Characters or text other than those set out above are not allowed.

In the CII file the message says "muessen" instead of "müssen". In the report, the first <xsl:value-of …/> is replaced by the name of the root element, such as Invoice, and the second by this regular expression:

(^|\r?\n)#(SKONTO)#TAGE=([0-9]+#PROZENT=[0-9]+\.[0-9]{2})(#BASISBETRAG=-?[0-9]+\.[0-9]{2})?#$

So a valid line looks like this:

  • #SKONTO#TAGE=14#PROZENT=2.25# for a 2.25% discount for payment within 14 days;
  • #SKONTO#TAGE=14#PROZENT=2.25#BASISBETRAG=357.93# when the discount applies only to part of the amount due, such as the materials.

Everything in capitals, with no spaces, and the percentage and base amount with a point and exactly two decimals. Each Skonto line is followed by a line break, the last one too. In UBL only the first cbc:Note of cac:PaymentTerms is checked, and in CII only the first ram:Description in ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradePaymentTerms. Under the specification, free text in BT-20 must not contain a #.

<cac:PaymentTerms>
  <cbc:Note>Payable within 30 days net.
#SKONTO#TAGE=14#PROZENT=2.00#
</cbc:Note>
</cac:PaymentTerms>

A complete XRechnung with such a line, in UBL and in CII, is among the XRechnung samples to download.

Usual causes: PROZENT=2 or PROZENT=2,00 instead of PROZENT=2.00, lower case such as #Skonto#, a space in the line, or a missing line break after the last #. Fix: write each Skonto line exactly to the pattern and end it with a line break.

BR-DE-19: IBAN for a SEPA credit transfer

For a SEPA credit transfer (code 58 in BT-81), the payee's account identifier (BT-84) should be a valid IBAN. Level: warning. It applies to every payment instruction with code 58, not to code 30.

"Payment account identifier" (BT-84) soll eine korrekte IBAN enthalten, wenn in "Payment means type code" (BT-81) mit dem Code 58 SEPA als Zahlungsmittel gefordert wird. Translation: "Payment account identifier" (BT-84) should contain a correct IBAN if "Payment means type code" (BT-81) asks for SEPA as the means of payment with code 58.

The check removes all spaces, then requires two capital letters for the country, two check digits and up to 30 letters and digits, and recalculates the check digits under ISO 13616 (modulo 97). Usual causes: a typo in the IBAN, the country code in lower case, an old account number instead of the IBAN, or a missing account (then BR-DE-23-a also reports an error). In CII the IBAN is sometimes in ram:ProprietaryID, which also triggers this warning. Fix: write the IBAN in UBL in cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:ID, in CII in ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:IBANID. If the account is not a SEPA account, use code 30 (credit transfer).

BR-DE-20: IBAN for a SEPA direct debit

For a SEPA direct debit (code 59 in BT-81), the buyer's debited account (BT-91) should be a valid IBAN. Level: warning, for every payment instruction with code 59.

"Debited account identifier" (BT-91) soll eine korrekte IBAN enthalten, wenn in "Payment means type code" (BT-81) mit dem Code 59 SEPA als Zahlungsmittel gefordert wird. Translation: "Debited account identifier" (BT-91) should contain a correct IBAN if "Payment means type code" (BT-81) asks for SEPA as the means of payment with code 59.

The check is the same as for BR-DE-19. A missing account triggers it too, together with BR-DE-31, or with BR-DE-25-a when the direct debit details are missing altogether. Fix: in UBL cac:PaymentMeans/cac:PaymentMandate/cac:PayerFinancialAccount/cbc:ID, in CII ram:SpecifiedTradeSettlementPaymentMeans/ram:PayerPartyDebtorFinancialAccount/ram:IBANID.

BR-DE-23-a: Account for a credit transfer

If a payment instruction gives a credit transfer (code 30 or 58), it must contain the payee's account (BG-17). Level: error.

Wenn BT-81 "Payment means type code" einen Schlüssel für Überweisungen enthält (30, 58), muss BG-17 "CREDIT TRANSFER" übermittelt werden. Translation: If BT-81 "Payment means type code" contains a code for credit transfers (30, 58), BG-17 "CREDIT TRANSFER" must be provided.

Usual cause: code 58 is on the invoice, but the IBAN is only in the text or in the footer of the PDF. Fix: in UBL cac:PaymentMeans/cac:PayeeFinancialAccount with cbc:ID (the IBAN, BT-84), in CII ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount with ram:IBANID.

BR-DE-23-b: No card and no direct debit with a credit transfer

If a payment instruction gives a credit transfer (code 30 or 58), it must not contain a card (BG-18) or a direct debit (BG-19). Level: error.

Wenn BT-81 "Payment means type code" einen Schlüssel für Überweisungen enthält (30, 58), dürfen BG-18 und BG-19 nicht übermittelt werden. Translation: If BT-81 "Payment means type code" contains a code for credit transfers (30, 58), BG-18 and BG-19 must not be provided.

In UBL the rule only checks the same payment instruction: no cac:CardAccount, no cac:PaymentMandate. In CII it is stricter: a mandate reference (ram:DirectDebitMandateID) or a creditor ID (ram:CreditorReferenceID) anywhere at document level also triggers it. Usual cause in CII: the software writes the creditor ID on every invoice, even when the buyer pays by transfer. Fix: remove the card and direct debit details from an invoice paid by credit transfer. If the seller collects the amount, use code 59.

BR-DE-24-a: Card for a card payment

If a payment instruction gives a card payment (code 48, 54 or 55), it must contain the card (BG-18). Level: error. The rule only checks that the group is there; despite the "genau" (exactly) in the message, it does not count the groups.

Wenn BT-81 "Payment means type code" einen Schlüssel für Kartenzahlungen enthält (48, 54, 55), muss genau BG-18 "PAYMENT CARD INFORMATION" übermittelt werden. Translation: If BT-81 "Payment means type code" contains a code for card payments (48, 54, 55), exactly BG-18 "PAYMENT CARD INFORMATION" must be provided.

Fix: in UBL cac:PaymentMeans/cac:CardAccount with cbc:PrimaryAccountNumberID (BT-87), in CII ram:ApplicableTradeSettlementFinancialCard with ram:ID. The full card number never goes on the invoice: enter only the last four to six digits (EN 16931, BR-51).

BR-DE-24-b: No account and no direct debit with a card payment

If a payment instruction gives a card payment (code 48, 54 or 55), it must not contain an account (BG-17) or a direct debit (BG-19). Level: error.

Wenn BT-81 "Payment means type code" einen Schlüssel für Kartenzahlungen enthält (48, 54, 55), dürfen BG-17 und BG-19 nicht übermittelt werden. Translation: If BT-81 "Payment means type code" contains a code for card payments (48, 54, 55), BG-17 and BG-19 must not be provided.

In UBL only the same payment instruction counts: no cac:PayeeFinancialAccount, no cac:PaymentMandate. In CII a mandate reference or creditor ID at document level also triggers the rule. Usual cause: the template writes the seller's IBAN in every payment instruction. Fix: remove the account and the direct debit details from the card payment.

BR-DE-25-a: Direct debit details

If a payment instruction gives a SEPA direct debit (code 59), it must contain the direct debit details (BG-19). Level: error. The rule only checks that the details are there.

Wenn BT-81 "Payment means type code" einen Schlüssel für Lastschriften enthält (59), muss genau BG-19 "DIRECT DEBIT" übermittelt werden. Translation: If BT-81 "Payment means type code" contains a code for direct debits (59), exactly BG-19 "DIRECT DEBIT" must be provided.

Fix: in UBL cac:PaymentMeans/cac:PaymentMandate with cbc:ID (the mandate reference, BT-89) and cac:PayerFinancialAccount/cbc:ID (the buyer's account, BT-91). In CII, one of three details is enough for this rule: ram:DirectDebitMandateID (BT-89), ram:CreditorReferenceID (BT-90) or ram:PayerPartyDebtorFinancialAccount/ram:IBANID (BT-91). BR-DE-30 and BR-DE-31 then require the creditor ID and the account.

BR-DE-25-b: No payee account and no card with a direct debit

If a payment instruction gives a SEPA direct debit (code 59), it must not contain a payee account (BG-17) or a card (BG-18). Level: error.

Wenn BT-81 "Payment means type code" einen Schlüssel für Lastschriften enthält (59), dürfen BG-17 und BG-18 nicht übermittelt werden. Translation: If BT-81 "Payment means type code" contains a code for direct debits (59), BG-17 and BG-18 must not be provided.

Usual cause: the template also writes the seller's IBAN into the direct debit. Fix: with a direct debit, only the buyer's account goes on the invoice. In UBL, remove cac:PayeeFinancialAccount and cac:CardAccount from this payment instruction. In CII, remove ram:PayeePartyCreditorFinancialAccount, ram:PayeeSpecifiedCreditorFinancialInstitution, ram:PayerSpecifiedDebtorFinancialInstitution and ram:ApplicableTradeSettlementFinancialCard from it.

BR-DE-30: Creditor ID for a direct debit

If the invoice contains a direct debit (BG-19), it must contain the seller's creditor ID (BT-90). Level: error, only on invoices with a direct debit.

Wenn "DIRECT DEBIT" BG-19 vorhanden ist, dann muss "Bank assigned creditor identifier" BT-90 übermittelt werden. Translation: If "DIRECT DEBIT" BG-19 is present, then "Bank assigned creditor identifier" BT-90 must be provided.

Usual cause: in UBL the creditor ID is on the invoice without schemeID="SEPA", or it is missing. Fix: in UBL cbc:ID with schemeID="SEPA" in cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification or in cac:PayeeParty/cac:PartyIdentification. In CII ram:ApplicableHeaderTradeSettlement/ram:CreditorReferenceID. The CII check is built differently: as soon as one of BT-89, BT-90 or BT-91 appears, it requires BT-90 together with BT-89 or BT-91. So a CII invoice that contains only the creditor ID fails BR-DE-30, even though the creditor ID is there.

BR-DE-31: Buyer's account for a direct debit

If the invoice contains a direct debit (BG-19), it must contain the buyer's debited account (BT-91). Level: error, only on invoices with a direct debit.

Wenn "DIRECT DEBIT" BG-19 vorhanden ist, dann muss "Debited account identifier" BT-91 übermittelt werden. Translation: If "DIRECT DEBIT" BG-19 is present, then "Debited account identifier" BT-91 must be provided.

Fix: in UBL cac:PaymentMeans/cac:PaymentMandate/cac:PayerFinancialAccount/cbc:ID, in CII ram:SpecifiedTradeSettlementPaymentMeans/ram:PayerPartyDebtorFinancialAccount/ram:IBANID. Here too the CII check is built differently: as soon as BT-89, BT-90 or BT-91 appears, it requires BT-91 together with BT-89 or BT-90. Combined with BR-DE-30, this means that in CII a direct debit always needs both the creditor ID and the buyer's account.

Attachments and contact details

One rule concerns the file names of embedded attachments; two concern the form of the seller's telephone number and email address.

BR-DE-22: Attachment file names

Every embedded attachment (BT-125) must have a file name of its own. Level: error. The rule only concerns invoices with two or more embedded attachments.

Das "filename"-Attribut aller "EmbeddedDocumentBinaryObject"-Elemente muss eindeutig sein Translation: The "filename" attribute of all "EmbeddedDocumentBinaryObject" elements must be unique.

In the CII file the message is in English:

Not all filename attributes of the embeddedDocumentBinaryObject elements are unique

The check compares each attachment with the ones before it at the same level, exactly and case-sensitively. The specification requires names that are unique regardless of case, so Annex.pdf and annex.pdf pass the check but are not unique. In CII the rule also checks attachments on lines. Usual cause: the software gives every attachment the same name, such as document.pdf. Fix: give each attachment a name of its own, in UBL in the filename attribute of cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject, in CII in the filename attribute of ram:AdditionalReferencedDocument/ram:AttachmentBinaryObject.

BR-DE-27: At least three digits in the telephone number

The seller's telephone number (BT-42) should contain at least three digits. Level: warning. The digits may be spread out; spaces, brackets and the plus sign do no harm.

In BT-42 sollen mindestens drei Ziffern enthalten sein. Translation: BT-42 should contain at least three digits.

Usual cause: a placeholder such as "-" or "n/a", there only to satisfy BR-DE-6. A missing number also triggers the warning. Fix: write a real number, such as +44 20 7946 0958, in UBL in cac:Contact/cbc:Telephone, in CII in ram:TelephoneUniversalCommunication/ram:CompleteNumber.

BR-DE-28: Form of the email address

The seller's email address (BT-43) should contain exactly one @ and have the form of an email address. Level: warning.

In BT-43 soll genau ein @-Zeichen enthalten sein, welches nicht von einem Leerzeichen, einem Punkt, aber mindestens zwei Zeichen auf beiden Seiten flankiert werden soll. Ein Punkt sollte nicht am Anfang oder am Ende stehen. Translation: BT-43 should contain exactly one @ sign, which should not be flanked by a space or a dot, but by at least two characters on each side. A dot should not come at the beginning or the end.

The check requires exactly one @, no spaces, at least one character before the @, then at least two parts with a dot between them, and no dot at the end. It is looser than the message: a single character before the @ is enough, and a dot at the start or end of the part before the @ is not reported. Usual causes: two addresses in one field, such as invoices@example.com; info@example.com, a space, a domain without a dot, or a placeholder. A missing address also triggers the warning. Fix: a single address, in UBL in cac:Contact/cbc:ElectronicMail, in CII in ram:EmailURIUniversalCommunication/ram:URIID.

Temporary rules: BR-DE-TMP-32 and BR-TMP

With XRechnung 3.0.0, KoSIT introduced temporary checks. They make sure the syntaxes are used correctly until EN 16931 has a matching rule, and are then removed again. Specification 3.0.2 of June 2024 lists none. The ones active today came with later releases of the XRechnung schematron: BR-TMP-2 with 2.3.0 (21 March 2025), BR-DE-TMP-32 and BR-TMP-3 with 2.4.0 (10 July 2025), and BR-TMP-4 to BR-TMP-7 with 2.6.0 (31 August 2026). With 2.6.0, BR-TMP-2 became an error. KoSIT has announced that BR-TMP-4 to BR-TMP-7 will also become errors in a coming release. The temporary CVD rule BR-TMP-CVD-01 is in the section on the CVD rules.

BR-DE-TMP-32: Delivery or service date

The invoice ought to give a delivery or service date: an actual delivery date (BT-72), an invoicing period (BG-14) or a period on every line (BG-26). Level: information, neither an error nor a warning.

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. Translation: To give the date of delivery or service, an invoice ought to contain either BT-72 "Actual delivery date", BG-14 "Invoicing period" or, in every invoice line, BG-26 "Invoice line period".

Usual cause: the invoice gives only the invoice date. Fix, one of the three: in UBL cac:Delivery/cbc:ActualDeliveryDate, cac:InvoicePeriod with cbc:StartDate and cbc:EndDate, or cac:InvoicePeriod in every cac:InvoiceLine; in CII ram:ApplicableHeaderTradeDelivery/ram:ActualDeliverySupplyChainEvent/ram:OccurrenceDateTime, ram:ApplicableHeaderTradeSettlement/ram:BillingSpecifiedPeriod, or ram:BillingSpecifiedPeriod in the ram:SpecifiedLineTradeSettlement of every line. The preview of XRechnung 4.0, of 15 September 2026, turns this into a "must" rule, with exceptions for some invoice types. It is not in force: XRechnung 3.0 applies until at least 31 July 2027.

BR-TMP-2: Address of an external attachment

An external attachment (BT-124) must contain an absolute URL with a valid scheme, such as https://… Level: error.

BT-124 "External document location" muss eine absolute URL mit gültigem Schema enthalten. Translation: BT-124 "External document location" must contain an absolute URL with a valid scheme.

The check requires a scheme at the start, of at least two characters and beginning with a letter, followed by a colon. https://example.com/delivery-note.pdf passes; www.example.com/delivery-note.pdf, delivery-note.pdf or a Windows path such as C:\Documents\delivery-note.pdf fail. In UBL an external reference without an address fails too; in CII it passes. Fix: write the full URL in UBL in cac:AdditionalDocumentReference/cac:Attachment/cac:ExternalReference/cbc:URI, in CII in ram:AdditionalReferencedDocument/ram:URIID (attachments with ram:TypeCode 916). Or embed the file as an attachment.

BR-TMP-3: Base quantity in the gross and net price

In CII, the gross and net price of a line must have the same base quantity (BT-149) and the same unit (BT-150). Level: error. CII only: UBL has a single base quantity, cac:Price/cbc:BaseQuantity.

Wenn BT-149 (Item price base quantity) sowohl in GrossPriceProductTradePrice als auch in NetPriceProductTradePrice vorhanden ist, müssen die Werte identisch sein. Wenn BT-150 (unit of measure code) auf dem NetPrice-Pfad vorhanden ist, muss es auch auf dem GrossPrice-Pfad vorhanden und identisch sein. Translation: If BT-149 (Item price base quantity) is present in both GrossPriceProductTradePrice and NetPriceProductTradePrice, the values must be identical. If BT-150 (unit of measure code) is present on the NetPrice path, it must also be present on the GrossPrice path and be identical.

The rule only applies when both prices have a base quantity. It compares the quantities as text: 1 and 1.0 are different. It compares the units only when both have one. Usual cause: the software writes the base quantity of the gross price differently from that of the net price, such as 1 and 1.0000. Fix: write the same value with the same unitCode in ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:BasisQuantity and in ram:NetPriceProductTradePrice/ram:BasisQuantity.

BR-TMP-4: One description per attachment

In CII, an attachment (BG-24) may have at most one description (BT-123). Level: warning. CII only, for every ram:AdditionalReferencedDocument with ram:TypeCode 916.

BT-123 "Supporting document description" (ram:Name) darf innerhalb von "Additional supporting documents" (BG-24) höchstens einmal vorkommen. Translation: BT-123 "Supporting document description" (ram:Name) may occur at most once within "Additional supporting documents" (BG-24).

The rule stands in for the CEN rule CII-SR-475, with a corrected context, until the error is fixed in the CEN files. Fix: keep a single ram:Name per attachment.

BR-TMP-5: One file per attachment

In CII, an attachment (BG-24) may have at most one embedded file (BT-125). Level: warning. CII only, for every ram:AdditionalReferencedDocument with ram:TypeCode 916.

BT-125 "Attached document" (ram:AttachmentBinaryObject) darf innerhalb von "Additional Supporting documents" (BG-24) höchstens einmal vorkommen. Translation: BT-125 "Attached document" (ram:AttachmentBinaryObject) may occur at most once within "Additional Supporting documents" (BG-24).

The rule stands in for CII-SR-476, as BR-TMP-4 does for CII-SR-475. Fix: create a separate ram:AdditionalReferencedDocument for each file, each with a file name of its own (BR-DE-22).

BR-TMP-6: Dates in UBL

In UBL, every date should have exactly the form YYYY-MM-DD, without a time zone. Level: warning, even though the message says "müssen" (must). UBL only.

Datumsangaben in UBL müssen im Format JJJJ-MM-TT (YYYY-MM-DD) übermittelt werden. Translation: Dates in UBL must be provided in the format YYYY-MM-DD.

Every cbc:IssueDate, cbc:DueDate, cbc:StartDate, cbc:EndDate, cbc:ActualDeliveryDate, cbc:TaxPointDate and cbc:PaymentDueDate in the file is checked, that is BT-2, BT-7, BT-9, BT-26, BT-72, BT-73, BT-74, BT-134 and BT-135. The rule does not check whether the day exists. Usual cause: the UBL schema allows a time zone after the date, such as 2026-11-14Z or 2026-11-14+01:00, and the software writes one. Fix: the date alone, 2026-11-14.

BR-TMP-7: Dates in CII

In CII, every date should carry the attribute format="102" and have exactly eight digits in the form YYYYMMDD. Level: warning, even though the message says "müssen" (must). CII only.

Datumsangaben in UNCEFACT/CII müssen das Attribut format="102" tragen und im Format JJJJMMTT (YYYYMMDD) übermittelt werden. Translation: Dates in UNCEFACT/CII must carry the attribute format="102" and be provided in the format YYYYMMDD.

Every udt:DateTimeString, qdt:DateTimeString and udt:DateString in the file is checked. Usual cause: a date with hyphens such as 2026-11-14, or a missing format attribute. Fix: <udt:DateTimeString format="102">20261114</udt:DateTimeString>.

Clean vehicles: the CVD rules

CVD stands for the EU's Clean Vehicles Directive. The CIUS XRechnung CVD (version 0.9 of 30 June 2025) is a CIUS of its own, based on XRechnung. It serves reporting under that directive: the invoice gives the notice identifier that the Public Procurement Data Service (Datenservice Öffentlicher Einkauf) generates for the tender (in BT-17), the call-off being invoiced (in BT-12) and, for the vehicles, their vehicle category and emission category. All the other XRechnung rules still apply.

The CVD rules only run when BT-24 contains exactly the CVD identifier, urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0#compliant#urn:xeinkauf.de:kosit:xrechnung:cvd_0.9. They do not apply to any other XRechnung. All are errors and came with XRechnung schematron 2.4.0 (10 July 2025). Their messages contain <xsl:value-of select="name()"/>, written [element] in the translations; in the report, that spot shows the name of the element checked, as written in the file, such as Invoice.

A vehicle line carries the vehicle category as an item classification (BT-158) with the scheme CVD, and the emission category as an item attribute (BG-32) named cva. In UBL:

<cac:Item>
  <cbc:Name>City bus</cbc:Name>
  <cac:CommodityClassification>
    <cbc:ItemClassificationCode listID="CVD">M3</cbc:ItemClassificationCode>
  </cac:CommodityClassification>
  <cac:ClassifiedTaxCategory>
    <cbc:ID>S</cbc:ID>
    <cbc:Percent>19</cbc:Percent>
    <cac:TaxScheme>
      <cbc:ID>VAT</cbc:ID>
    </cac:TaxScheme>
  </cac:ClassifiedTaxCategory>
  <cac:AdditionalItemProperty>
    <cbc:Name>cva</cbc:Name>
    <cbc:Value>zero-emission</cbc:Value>
  </cac:AdditionalItemProperty>
</cac:Item>

In CII the same details sit in ram:SpecifiedTradeProduct: the attribute as ram:ApplicableProductCharacteristic with ram:Description cva and ram:Value, the category as ram:DesignatedProductClassification/ram:ClassCode with listID="CVD".

BR-DE-CVD-01: Contract reference

A CVD invoice must contain a contract reference (BT-12). Level: error. In a CVD invoice this field holds the call-off being invoiced.

Das Element <xsl:value-of select="name()"/> "Contract reference" (BT-12) muss übermittelt werden. Translation: The element [element] "Contract reference" (BT-12) must be provided.

Fix: in UBL cac:ContractDocumentReference/cbc:ID, in CII ram:ApplicableHeaderTradeAgreement/ram:ContractReferencedDocument/ram:IssuerAssignedID.

BR-DE-CVD-02: Tender or lot

A CVD invoice must contain the tender or lot identifier (BT-17). Level: error. In a CVD invoice this field holds the notice identifier.

Das Element <xsl:value-of select="name()"/> "Tender or lot reference" (BT-17) muss übermittelt werden. Translation: The element [element] "Tender or lot reference" (BT-17) must be provided.

Fix: in UBL cac:OriginatorDocumentReference/cbc:ID, in CII a ram:AdditionalReferencedDocument in ram:ApplicableHeaderTradeAgreement with ram:TypeCode 50 and the identifier in ram:IssuerAssignedID.

BR-DE-CVD-03: At least one vehicle line

A CVD invoice must contain at least one line with a classification in the scheme CVD (BT-158) and an attribute named cva (BT-160). Level: error.

In einer Rechnung muss mindestens eine <xsl:value-of select="name()"/> INVOICE LINE (BG-25) enthalten sein, in der der Scheme identifier von <xsl:value-of select="name()"/> "Item classification identifier" (BT-158) den Wert 'CVD' und der <xsl:value-of select="name()"/> "Item attribute name" (BT-160) den Wert 'cva' enthält. Translation: An invoice must contain at least one [element] INVOICE LINE (BG-25) in which the scheme identifier of [element] "Item classification identifier" (BT-158) has the value 'CVD' and [element] "Item attribute name" (BT-160) has the value 'cva'.

Both values are compared exactly: CVD in capitals, cva in lower case, with no spaces. Fix: give at least one line both details, as in the example above.

BR-DE-CVD-04: Vehicle category

A classification (BT-158) in the scheme CVD must contain one of the vehicle categories M1, M2, M3, N1, N2 or N3. Level: error.

Ein <xsl:value-of select="name()"/> "Item classification identifier" (BT-158) mit dem Scheme identifier 'CVD' muss einen Wert aus der Liste der zulässigen Fahrzeugkategorien enthalten. Translation: An [element] "Item classification identifier" (BT-158) with the scheme identifier 'CVD' must contain a value from the list of allowed vehicle categories.

The values come from the "Vehicle Category" list of the Publications Office of the EU: M for vehicles that carry passengers, N for vehicles that carry goods. Fix: write the category in cbc:ItemClassificationCode (UBL) or ram:ClassCode (CII).

BR-DE-CVD-05: Emission category

If an item attribute is named cva (BT-160), its value (BT-161) must be clean, zero-emission or other. Level: error.

Wenn innerhalb von <xsl:value-of select="name()"/> ITEM ATTRIBUTES (BG-32) der <xsl:value-of select="name()"/> "Item attribute name" (BT-160) den Wert 'cva' hat, muss der <xsl:value-of select="name()"/> "Item attribute value" (BT-161) einen der zulässigen Werte enthalten. Translation: If, within [element] ITEM ATTRIBUTES (BG-32), [element] "Item attribute name" (BT-160) has the value 'cva', [element] "Item attribute value" (BT-161) must contain one of the allowed values.

The comparison is case-sensitive: Clean or Zero-Emission fail. Fix: in UBL cac:AdditionalItemProperty/cbc:Value, in CII ram:ApplicableProductCharacteristic/ram:Value.

BR-DE-CVD-06-a: A cva attribute for the vehicle category

If a line has a classification in the scheme CVD, it must have exactly one attribute named cva. Level: error.

Wenn der Scheme identifier von <xsl:value-of select="name()"/> "Item classification identifier" (BT-158) mit dem Wert 'CVD' angegeben ist, muss in derselben Rechnungszeile genau ein <xsl:value-of select="name()"/> "Item attribute name" (BT-160) mit dem Wert 'cva' vorhanden sein. Translation: If the scheme identifier of [element] "Item classification identifier" (BT-158) is given with the value 'CVD', exactly one [element] "Item attribute name" (BT-160) with the value 'cva' must be present in the same invoice line.

Usual cause: the attribute is missing or appears twice on the line. Fix: a single cva attribute per vehicle line.

BR-DE-CVD-06-b: A vehicle category for the cva attribute

If a line has an attribute named cva, it must have exactly one classification in the scheme CVD. Level: error.

Wenn <xsl:value-of select="name()"/> "Item attribute name" (BT-160) mit dem Wert 'cva' angegeben ist, muss in derselben Rechnungszeile genau ein <xsl:value-of select="name()"/> "Item classification identifier" (BT-158) mit dem Scheme identifier 'CVD' vorhanden sein. Translation: If [element] "Item attribute name" (BT-160) is given with the value 'cva', exactly one [element] "Item classification identifier" (BT-158) with the scheme identifier 'CVD' must be present in the same invoice line.

The specification treats BR-DE-CVD-06-a and -b as a single rule, BR-DE-CVD-06. Fix: a single classification in the scheme CVD on each line with a cva attribute. Other classifications in other schemes may sit alongside it.

BR-TMP-CVD-01: Classification scheme

In a CVD invoice, the scheme of every item classification (BT-158) must come from the UNTDID 7143 list or be CVD. Level: error.

Das Bildungsschema für <xsl:value-of select="name()"/> "Item classification identifier" (BT-158) ist aus der Codeliste UNTDID 7143 zu wählen. Translation: The scheme for [element] "Item classification identifier" (BT-158) is to be chosen from the UNTDID 7143 code list.

The rule is temporary because the value CVD is not yet in the UNTDID 7143 list. It is due to be added for version 1.0 of the CIUS; until then, the CVD invoice extends the list with CVD. An empty or missing scheme passes this check, but not EN 16931 (BR-65). Fix: in cbc:ItemClassificationCode/@listID (UBL) or ram:ClassCode/@listID (CII), a code from the UNTDID 7143 list or CVD.

The extension: BR-DEX

The XRechnung extension is part of the XRechnung standard. It builds on the CIUS: every XRechnung rule still applies unless the extension changes it. It is meant for cases where the CIUS cannot carry the details needed, and its content is optional for suppliers. It adds sub-invoice lines (BG-DEX-01), XML files as attachments, third-party payments (BG-DEX-09) and three extra codes in the ISO 6523 ICD and EAS lists: XR01 (DiGAVEID) and XR02 (activation code, Freischaltcode) for digital health applications, and XR03, the institution code (Institutionskennzeichen, IK) of a healthcare provider under § 293 of Book V of the German Social Code (SGB V).

The BR-DEX rules only run when BT-24 contains exactly the extension identifier, urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0#conformant#urn:xeinkauf.de:kosit:extension:xrechnung_3.0. BR-DEX-02, BR-DEX-03 and BR-DEX-09 to BR-DEX-14 exist only in the UBL file, and BR-DEX-15 only in the CII file. BR-DEX-04 to BR-DEX-09 replace EN 16931 rules in the extension and have English messages.

BR-DEX-01: MIME code of an attachment

In the extension, every embedded attachment (BT-125) must have an allowed MIME code; application/xml is added to the codes of EN 16931. Level: error.

Das Element <xsl:value-of select="name()"/> "Attached Document" (BT-125) benutzt einen nicht zulässigen MIME-Code: <xsl:value-of select="@mimeCode"/>. Im Falle einer Extension darf zusätzlich zu der Liste der mime codes (definiert in Abschnitt 8.2, "Binary Object") der MIME-Code application/xml genutzt werden. Translation: The element [element] "Attached Document" (BT-125) uses a MIME code that is not allowed: [code]. In the case of an extension, the MIME code application/xml may be used in addition to the list of MIME codes (defined in section 8.2, "Binary Object").

In the report, those spots show the name of the element and the rejected code. Exactly these are allowed: application/pdf, image/png, image/jpeg, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.oasis.opendocument.spreadsheet and application/xml. Usual cause: text/xml instead of application/xml, or a file in another format, such as a Word document. Fix: correct the mimeCode attribute of cbc:EmbeddedDocumentBinaryObject (UBL) or ram:AttachmentBinaryObject (CII), or convert the file to an allowed format. Under the specification, an attached XML file must not contain elements that in turn hold an XML document of their own.

BR-DEX-02: Sum of the sub-lines

The net amount (BT-131) of a line or sub-line should equal the sum of the net amounts of its direct sub-lines. Level: warning. UBL only, invoices only, not credit notes.

Der Wert von "Invoice line net amount" (BT-131) einer "INVOICE LINE" (BG-25) oder einer "SUB INVOICE LINE" (BG-DEX-01) soll der Summe der "Invoice line net amount" (BT-131) der direkt darunterliegenden "SUB INVOICE LINE" (BG-DEX-01) entsprechen. Translation: The value of "Invoice line net amount" (BT-131) of an "INVOICE LINE" (BG-25) or a "SUB INVOICE LINE" (BG-DEX-01) should equal the sum of the "Invoice line net amount" (BT-131) of the "SUB INVOICE LINE" (BG-DEX-01) directly below it.

The sum must match exactly, with no tolerance. Usual cause: rounding in the sub-lines. Fix: set the cbc:LineExtensionAmount of every cac:InvoiceLine and every cac:SubInvoiceLine that has sub-lines to the sum of the cbc:LineExtensionAmount of its direct cac:SubInvoiceLine elements.

BR-DEX-03: VAT category of a sub-line

Every sub-line (BG-DEX-01) must have exactly one VAT information group (BG-DEX-06). Level: error. UBL only, invoices only.

Eine Sub Invoice Line (BG-DEX-01) muss genau eine "SUB INVOICE LINE VAT INFORMATION" (BG-DEX-06) enthalten. Translation: A Sub Invoice Line (BG-DEX-01) must contain exactly one "SUB INVOICE LINE VAT INFORMATION" (BG-DEX-06).

Fix: exactly one cac:ClassifiedTaxCategory in cac:SubInvoiceLine/cac:Item.

BR-DEX-04: Party identifier scheme

In the extension, the scheme of every party identifier (BT-29, BT-46, BT-60) must come from the ISO 6523 ICD list or be XR01, XR02 or XR03. Level: error. The rule replaces BR-CL-10 of EN 16931.

Any scheme identifier in <xsl:value-of select="name()"/> MUST be coded using one of the ISO 6523 ICD list.

In UBL SEPA is also allowed, for the seller and the payee, for the creditor ID (BT-90). An empty scheme passes the check. Usual cause: a name instead of a code, such as GLN instead of 0088. Fix: correct the schemeID of cac:PartyIdentification/cbc:ID (UBL) or of ram:GlobalID (CII).

BR-DEX-05: Registration identifier scheme

In the extension, the scheme of every legal registration identifier (BT-30, BT-47, BT-61) must come from the ISO 6523 ICD list or be XR01, XR02 or XR03. Level: error. The rule replaces BR-CL-11.

Any scheme identifier in <xsl:value-of select="name()"/> MUST be coded using one of the ISO 6523 ICD list.

Fix: correct the schemeID of cac:PartyLegalEntity/cbc:CompanyID (UBL) or of ram:SpecifiedLegalOrganization/ram:ID (CII). In CII the rule checks every ram:ID with a scheme outside ram:SpecifiedTaxRegistration.

BR-DEX-06: Item identifier scheme

In the extension, the scheme of every item standard identifier (BT-157) must come from the ISO 6523 ICD list or be XR01, XR02 or XR03. Level: error. The rule replaces BR-CL-21.

Any scheme identifier in <xsl:value-of select="name()"/> MUST be coded using one of the ISO 6523 ICD list.

Usual cause: GTIN instead of 0160. Fix: correct the schemeID of cac:StandardItemIdentification/cbc:ID (UBL) or of ram:SpecifiedTradeProduct/ram:GlobalID (CII).

BR-DEX-07: Electronic address scheme

In the extension, the scheme of the seller's (BT-34) and the buyer's (BT-49) electronic address must come from the EAS list or be XR01, XR02 or XR03. Level: error. The rule replaces BR-CL-25.

Any scheme identifier for an Endpoint Identifier in <xsl:value-of select="name()"/> MUST belong to the CEF EAS code list.

Usual cause: a made-up name instead of a code, such as EMAIL instead of EM. Fix: correct the schemeID of cbc:EndpointID (UBL) or of ram:URIUniversalCommunication/ram:URIID (CII), for example 0204 for a Leitweg-ID or EM for an email address.

BR-DEX-08: Delivery location identifier scheme

In the extension, the scheme of the delivery location identifier (BT-71) must come from the ISO 6523 ICD list or be XR01, XR02 or XR03. Level: error. The rule replaces BR-CL-26.

Any scheme identifier for a Delivery location identifier in <xsl:value-of select="name()"/> MUST be coded using one of the ISO 6523 ICD list.

Fix: correct the schemeID of cac:Delivery/cac:DeliveryLocation/cbc:ID (UBL) or of ram:ShipToTradeParty/ram:GlobalID (CII).

BR-DEX-09: Amount due with third-party payments

In the extension, the amount due (BT-115) must equal the total with VAT (BT-112), minus the paid amount (BT-113), plus the rounding amount (BT-114), plus the sum of the third-party payments (BT-DEX-002). Level: error. UBL only. The rule replaces BR-CO-16.

Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) - Paid amount (BT-113) + Rounding amount (BT-114) + Σ Third party payment amount (BT-DEX-002).

Both sides are rounded to two decimals. A missing paid amount or rounding amount counts as 0. Third-party payments are gross amounts collected for others, without a VAT breakdown; they change only the amount due, not the invoice itself. Example: a total of 1,190.00, nothing paid and one third-party payment of 25.00 make 1,215.00 due. Fix: check cbc:PayableAmount, cbc:TaxInclusiveAmount, cbc:PrepaidAmount and cbc:PayableRoundingAmount in cac:LegalMonetaryTotal, and the cbc:PaidAmount of every cac:PrepaidPayment.

BR-DEX-10: Type of a third-party payment

Every third-party payment (BG-DEX-09) must state its type (BT-DEX-001). Level: error. UBL only, invoices only.

Das Element "Third party payment type" BT-DEX-001 muss übermittelt werden, wenn die Gruppe "THIRD PARTY PAYMENT" (BG-DEX-09) übermittelt wird. Translation: The element "Third party payment type" BT-DEX-001 must be provided if the group "THIRD PARTY PAYMENT" (BG-DEX-09) is provided.

Fix: cbc:ID in cac:PrepaidPayment.

BR-DEX-11: Amount of a third-party payment

Every third-party payment (BG-DEX-09) must state its amount (BT-DEX-002). Level: error. UBL only, invoices only.

Das Element "Third party payment amount" BT-DEX-002 muss übermittelt werden, wenn die Gruppe "THIRD PARTY PAYMENT" (BG-DEX-09) übermittelt wird. Translation: The element "Third party payment amount" BT-DEX-002 must be provided if the group "THIRD PARTY PAYMENT" (BG-DEX-09) is provided.

Fix: cbc:PaidAmount in cac:PrepaidPayment.

BR-DEX-12: Description of a third-party payment

Every third-party payment (BG-DEX-09) must have a description (BT-DEX-003). Level: error. UBL only, invoices only.

Das Element "Third party payment description" BT-DEX-003 muss übermittelt werden, wenn die Gruppe "THIRD PARTY PAYMENT" (BG-DEX-09) übermittelt wird. Translation: The element "Third party payment description" BT-DEX-003 must be provided if the group "THIRD PARTY PAYMENT" (BG-DEX-09) is provided.

The description tells several third-party payments apart and should be unique within the invoice. Fix: cbc:InstructionID in cac:PrepaidPayment.

BR-DEX-13: Decimals of a third-party payment

The amount of a third-party payment (BT-DEX-002) may have at most two decimals. Level: error. UBL only, invoices only.

Die maximale Anzahl zulässiger Nachkommastellen für das Element "Third party payment amount" (BT-DEX-002) ist 2. Translation: The maximum number of decimal places allowed for the element "Third party payment amount" (BT-DEX-002) is 2.

Fix: round cbc:PaidAmount to two decimals, such as 25.00 instead of 25.000.

BR-DEX-14: Currency of a third-party payment

The amount of a third-party payment (BT-DEX-002) must be in the invoice currency (BT-5). Level: error. UBL only, invoices only. A missing amount also triggers the rule.

Die Währungsangabe von "Third party payment amount" BT-DEX-002 muss BT-5 ("Invoice currency code") entsprechen. Translation: The currency of "Third party payment amount" BT-DEX-002 must match BT-5 ("Invoice currency code").

Fix: set the currencyID attribute of cbc:PaidAmount to the value of cbc:DocumentCurrencyCode.

BR-DEX-15: No sub-lines in CII

In a CII invoice of the extension, no line should name a parent line: XRechnung does not support sub-lines in CII. Level: warning. CII only.

This CII file might use the concept of Sub Invoice Lines. However XRechnung does not support this.

As soon as there is a ram:ParentLineID anywhere, the rule reports every line once. Fix: remove ram:ParentLineID and list the lines without a hierarchy, or send the invoice in UBL, which has sub-lines (cac:SubInvoiceLine).

Where this site fits

The validator checks an invoice in UBL, in CII or as a ZUGFeRD PDF against its schema, against the EN 16931 rules and, if it declares XRechnung, against the BR-DE rules. Each finding shows the level, the code, KoSIT's message and the place in the file. The validator checks the file alone: it cannot know whether a Leitweg-ID belongs to the buyer.

Sources

All sources checked on 14 November 2026.

The messages on this page are quoted word for word from KoSIT's validator configuration for XRechnung 3.0.2, under the Apache License 2.0; the English translations that follow them are not part of that configuration. The configuration's NOTICE reads: "KoSIT XML-Validator Configuration for XRechnung / Copyright 2020 Koordinierungsstelle für IT-Standards / This product includes software developed by Coordination Office for IT-Standards (http://www.xoev.de/)."

Last updated: 27 November 2026 · Written by CTC Engine. How the guides are written

Did this guide help you?

The guides are free and follow each new version of the rules. A small thank-you helps keep them up to date.