eu-en16931-v2017
Support for the European Norm (EN) 16931-1:2017 standard for electronic invoicing.
This addon ensures the basic rules and mappings are applied to the GOBL document
ensure that it is compliant and easily convertible to other formats.
We strongly recommend checking the output and specifically the extension codes
used to ensure that any assumptions do not need be adjusted.
Tax Code Extension Mappings
The following tables show how GOBL tax keys/categories are mapped to UNTDID 5305 tax category codes:VAT
| GOBL Tax Key | UNTDID 5305 Code | Description |
|---|---|---|
| standard | S | Standard rate |
| zero | Z | Zero rated goods |
| exempt | E | Exempt from tax |
| reverse-charge | AE | VAT Reverse Charge |
| intra-community | K | Intra-community supply |
| export | G | Export outside the EU |
| outside-scope | O | Not subject to VAT |
Other
For Spanish special territories, IGIC (Canary Islands) maps to code L and IPSI (Ceuta and Melilla) maps to code M. Any other tax category defaults to UNTDID 5305 code O (Outside Scope).Note Key Mappings
The following table shows how GOBL note keys are mapped to UNTDID 4451 text subject qualifier codes. The mapped code is set in the untdid-text-subject extension field.| GOBL Note Key | UNTDID 4451 Code | Description |
|---|---|---|
| goods | AAA | Goods description |
| payment | PMT | Terms of payment |
| payment-method | PMD | Payment method or remittance information |
| payment-term | AAB | Payment term details |
| general | AAI | General information |
| legal | ABY | Legal or regulatory information |
| dangerous-goods | AAC | Dangerous goods additional information |
| ack | AAE | Acknowledgement description |
| rate | AAF | Rate additional information |
| reason | ACD | Explanation of something relevant to the document |
| dispute | ACE | Details on a dispute |
| customer | CUR | Customer remarks |
| glossary | ACZ | Glossary of terms |
| customs | CUS | Customs declaration information |
| handling | HAN | Handling instructions |
| packaging | PKG | Packaging information |
| loading | LOI | Loading instructions |
| price | AAK | Price conditions |
| priority | PRI | Priority information |
| regulatory | REG | Regulatory information |
| safety | SAF | Safety instructions |
| ship-line | SLR | Ship line |
| supplier | SUR | Supplier remarks |
| transport | TRA | Transportation information |
| delivery | DEL | Delivery information |
| quarantine | QIN | Quarantine information |
| tax | TXD | Tax declaration |
| other | ZZZ | Mutually defined |
Identity Scheme Mappings
The following tables show how GOBL identity keys and types are mapped to ISO/IEC 6523 scheme codes, set in the iso-scheme-id extension field.Identity Keys
| GOBL Identity Key | ISO/IEC 6523 Code | Description |
|---|---|---|
| gln | 0088 | GS1 Global Location Number |
| gtin | 0160 | GS1 Global Trade Item Number |
Identity Types (regime-specific)
| GOBL Identity Type | ISO/IEC 6523 Code | Description |
|---|---|---|
| SIREN | 0002 | French SIREN (legal entity identifier) |
| SIRET | 0009 | French SIRET (establishment identifier) |
| CVR | 0184 | Danish CVR-nummer |