BR-DE-17: Invoice type code not in the XRechnung list
XRechnung expects one of eight invoice type codes. Other codes from UNTDID 1001 pass EN 16931 but raise this warning.
- Severity
- Warning the invoice still passes, but the recipient may query it.
- Rule set
- XRechnung 3.0.2 (KoSIT)
- Where it applies
- XRechnung 3.0 in UBL and CII (Germany)
- ZUGFeRD / Factur-X with the XRECHNUNG profile
- Business terms
- BT-3 Invoice type code
Official rule text
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 used in Invoice type code (BT-3): 326 (Partial invoice), 380 (Commercial invoice), 384 (Corrected invoice), 389 (Self-billed invoice), 381 (Credit note), 875 (Partial construction invoice), 876 (Partial final construction invoice), 877 (Final construction invoice).
What the rule checks
EN 16931 accepts several dozen codes from UNTDID 1001. XRechnung narrows this to 326, 380, 381, 384, 389, 875, 876 and 877. The rule is a warning: the validation still passes, but a recipient in German public administration may not process other codes.
In UBL the code is cbc:InvoiceTypeCode in an Invoice and cbc:CreditNoteTypeCode in a CreditNote; in CII it is ram:TypeCode in ram:ExchangedDocument.
Common causes
- The software maps its own document types to codes that EN 16931 allows but XRechnung does not list.
- A prepayment invoice is sent with code 386, which EN 16931 allows and XRechnung does not list.
How to fix it
Choose the listed code that describes the document: 380 for an ordinary invoice, 326 for a partial invoice, 384 for a corrected invoice, 389 for self-billing, 381 for a credit note, 875 to 877 for construction invoices.
If no listed code fits the document, ask the recipient how they want to receive it. Do not change the code only to silence the warning; the code tells the recipient how to book the document.
<cbc:IssueDate>2026-11-02</cbc:IssueDate>
<cbc:InvoiceTypeCode>751</cbc:InvoiceTypeCode><cbc:IssueDate>2026-11-02</cbc:IssueDate>
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>UBL excerpts; elements that play no part in the rule are left out.
Can the fix page repair it?
Yes, once you supply the value and confirm it. You enter the correct value; because it changes amounts or VAT data, it is applied only after you confirm. Fields inside lists go into the free field with an index, as shown below.
Field on the fix page: typeCode
Repair a rejected invoiceGuide: What does BR-DE-15 mean? XRechnung error codes explained
Check your invoice against the official rules
Upload an XML or PDF invoice. You get every failing rule with an explanation, the fix and the line in the file. Free, without sign-up; the check on this page stores nothing.
Processed in memory and not stored. No sign-up needed.
E-Invoicing API