BR-DE-17 KoSIT XRechnung 3.0.2 DE SCHEMATRON WARNING
BR-DE-17 — Recommended XRechnung Invoice TypeCode Subset (BT-3)
Rule Definition & Compliance Impact
Rule BR-DE-17 checks that Invoice TypeCode (BT-3) belongs to the German XRechnung core set: 326 (Partial invoice), 380 (Commercial invoice), 384 (Corrected invoice), 389 (Self-billed invoice), 381 (Credit note), or construction codes 875, 876, 877.
Common ERP & Exporter Root Causes
ERP systems export uncommon UNTDID 1001 codes such as 383 (Debit note) or 386 (Prepayment invoice — where German XRechnung prefers 326 Partial invoice).
How to Fix This Violation
Map standard invoices to 380, partial/advance invoices to 326, corrections to 384, credit notes to 381, self-billing to 389, and construction progress billing to 875/876/877.
Non-Compliant vs. Compliant Payload Comparison
UN/CEFACT CII D16B (Factur-X / ZUGFeRD)
REJECTED
<rsm:ExchangedDocument>
<ram:ID>XR-2026-088</ram:ID>
<!-- TypeCode 383 (Debit note) triggers KoSIT BR-DE-17 warning -->
<ram:TypeCode>383</ram:TypeCode>
</rsm:ExchangedDocument> COMPLIANT
<rsm:ExchangedDocument>
<ram:ID>XR-2026-088</ram:ID>
<!-- XRechnung core type codes: 326, 380, 384, 389, 381, 875, 876, 877 -->
<ram:TypeCode>380</ram:TypeCode>
</rsm:ExchangedDocument>OASIS UBL 2.1 (XRechnung / Peppol / RO e-Factura)
REJECTED
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<cbc:ID>XR-2026-088</cbc:ID>
<cbc:InvoiceTypeCode>383</cbc:InvoiceTypeCode>
</Invoice> COMPLIANT
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<cbc:ID>XR-2026-088</cbc:ID>
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
</Invoice>