Invoice types in e-invoices: codes such as 380, 381 and 384
Whether a document is an invoice, a credit note or a corrected invoice is stated in the e-invoice as a numeric code from the code list UNTDID 1001, e.g. 380 for a commercial invoice.
Only part of the codes is permitted for e-invoices; XRechnung in turn provides for only a few of them.
Where does the code belong?
The code is BT-3 (Invoice type code) and is mandatory.
In CII it is ram:TypeCode in rsm:ExchangedDocument, in UBL cbc:InvoiceTypeCode or cbc:CreditNoteTypeCode.
In UBL, the EN 16931 validation rules check cbc:InvoiceTypeCode and cbc:CreditNoteTypeCode against separate code lists: 381, for example, is only permitted in the CreditNote document, 380 only in the Invoice document (validation rule BR-CL-01).
Frequently used codes
A selection of frequently used codes, not the complete code list. The complete list is published by the source named below.
| Code | Meaning | Explanation |
|---|---|---|
380 |
Commercial invoice | The normal invoice for goods or services. |
381 |
Credit note | Document with which the seller credits an amount to the buyer, e.g. for a return or a price reduction. Not to be confused with the self-billed invoice (389), which German VAT law also calls "Gutschrift". |
384 |
Corrected invoice | Corrects an invoice already issued. A reference to the original invoice (BG-3) is common. |
389 |
Self-billed invoice | The recipient of the goods or services issues the invoice for them itself (self-billing). |
326 |
Partial invoice | Invoice for part of a delivery or service. |
875 |
Partial construction invoice | Interim invoice for construction work. |
876 |
Partial final construction invoice | Partial final invoice for construction work. |
877 |
Final construction invoice | Final invoice for construction work. |
386 |
Prepayment invoice | Invoice for a prepayment. Not provided for in XRechnung (warning BR-DE-17). |
Typical errors
In E-Rechnungsfreund
In the invoice form, expert view, section "Invoice details", select an entry from the list in the field "Type code (BT-3)". The simple view uses 380.
Source and license
Source of the codes: UNECE (UN/CEFACT), UNTDID 1001 (Document name code). The complete and binding list is available there. EN 16931 permits only part of the codes for e-invoices.
The meanings and explanations of the frequently used codes and the notes on typical errors are editorial texts and not part of the source.
Explanation of the code list, not legal or tax advice.