A code specifying the functional type of the Invoice (UNTDID 1001). XRechnung supports specific invoice type codes: 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).
The invoice type code classifies the purpose and legal nature of the document. Most common is 380 (Commercial invoice) for standard invoices and 381 (Credit note) for refunds or corrections.
Mandatory according to EN 16931-1. XRechnung restricts to specific codes for German e-invoicing compliance.
/Invoice/cbc:InvoiceTypeCode
/CrossIndustryInvoice/ExchangedDocument/ram:TypeCode
380
381
384
389
326
875
876
877
01
✗ Invalid02
✗ Invalid05
✗ Invalid999
✗ InvalidINV
✗ InvalidCN
✗ InvalidCode 380 (Commercial invoice) is the most commonly used for standard business invoices.
Use code 381 (Credit note) when issuing a refund, correction, or reduction of a previously issued invoice amount.
Codes 875, 876, and 877 are used for construction invoices: 875 (Partial construction invoice), 876 (Partial final construction invoice), 877 (Final construction invoice).
Our AI-powered Invoice Converter automatically handles all XRechnung requirements, including proper field validation.