Reference data · EN 16931 · free
UN/EDIFACT · UNTDID
What kind of invoice, which tax, which payment.
Most codes of an e-invoice come from the United Nations directory for electronic trade (UNTDID). These codes describe the document type, the tax category, the payment means, and allowances and charges.
payment means of the invoice
allowed payment means
SEPA credit transfer
ISO and UN/ECE
Countries, currencies, units, identifiers.
International standards provide the codes for countries and currencies, the units of measure of every line and the schemes that identifiers such as GLN or DUNS come from.
EU and others
Addresses, tax exemption, attachments.
The European Commission maintains the schemes for electronic addresses and the reasons for VAT exemption. In addition, there are the file formats of embedded attachments.
VATEX and UNTDID 5305 belong together: If a line carries the VAT category “E” (exempt), the invoice must also give a VATEX code or a free text that states the reason for the exemption.
from UNTDID 5305: exempt
VATEX code or free text
Every list also through the API, free and without a key.
All code lists are available through the e-Invoice REST API, free and without a key, as a whole list or as a single code. Every response names the data version, so your program knows how current the list is. An example: GET /wp-json/einvoice-api/v1/codelists/untdid_4461
A code list tells you which codes are allowed. Only a validation can tell you whether a whole invoice is valid, and the REST API offers that as well.
