/xXSDHub

BR-DE-17: German profile restricts invoice type codes

German profile restricts invoice type codes; use an invoice type permitted by the pinned XRechnung rule.

What the rule says

[BR-DE-17] 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).

Official xrechnung source, version 2.6.0 / XRechnung 3.0.2. Apache 2.0; sources, licences and notices. Syntax and business checks are separate; this is not certification.

German profile restricts invoice type codes

German profile restricts invoice type codes. The controlled example changes the specific field or group named by this rule. Set only /*/cbc:InvoiceTypeCode to '325'.

Business terms: BT-3.

Use an invoice type permitted by the pinned XRechnung rule.

Reproduced failure and correction

Tested on 2 November 2026 with the production SaxonC-HE 13.1 / saxonche 13.1.1 engine, xrechnung mode, UBL. The XSD passes; the report then contains BR-DE-17. Restoring this fragment makes the complete original invoice pass the selected checks.

[BR-DE-17] 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).

Additional triggered rules: 0. None. Counts include distinct error and warning codes; the target code is excluded.

Precise mutated XPath: /*/cbc:InvoiceTypeCode.

Before: triggers this rule

<ns0:InvoiceTypeCode xmlns:ns0="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">325</ns0:InvoiceTypeCode>
    

After: passes

<ns0:InvoiceTypeCode xmlns:ns0="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">380</ns0:InvoiceTypeCode>
    

The context shown is part of a complete invoice; it is not a standalone invoice. Mutation: value at /*/cbc:InvoiceTypeCode. The passing baseline is validated with the selected pinned package. UBL examples use a controlled single-line adaptation of the official XRechnung example; the CII example uses the official EN 16931 baseline.

Download complete failing invoice · Download complete passing invoice

Check your corrected invoice →

Check the rest of the invoice

Repair the source data and exporter, then validate the complete invoice again with the same package. Review every remaining error and warning; a passing rule is not a guarantee of recipient acceptance.

EN 16931 syntax and business checks · XRechnung profile requirements · Pro/Team batch checks.