gobl 0.24.1 → 0.24.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/data/addons/br-nfe-v4.json +481 -0
- data/data/addons/br-nfse-v1.json +235 -0
- data/data/addons/co-dian-v2.json +311 -0
- data/data/addons/de-xrechnung-v3.json +16 -0
- data/data/addons/de-zugferd-v2.json +16 -0
- data/data/addons/es-facturae-v3.json +359 -0
- data/data/addons/es-tbai-v1.json +225 -0
- data/data/addons/es-verifactu-v1.json +609 -0
- data/data/addons/eu-en16931-v2017.json +92 -0
- data/data/addons/fr-choruspro-v1.json +260 -0
- data/data/addons/fr-facturx-v1.json +16 -0
- data/data/addons/gr-mydata-v1.json +1495 -0
- data/data/addons/it-sdi-v1.json +1570 -0
- data/data/addons/it-ticket-v1.json +144 -0
- data/data/addons/mx-cfdi-v4.json +908 -0
- data/data/addons/pl-favat-v2.json +235 -0
- data/data/addons/pt-saft-v1.json +950 -0
- data/data/catalogues/cef.json +374 -0
- data/data/catalogues/iso.json +19 -0
- data/data/catalogues/untdid.json +10669 -0
- data/data/currency/iso.json +2378 -0
- data/data/currency/non-iso.json +128 -0
- data/data/schemas/bill/charge.json +125 -0
- data/data/schemas/bill/correction-options.json +54 -0
- data/data/schemas/bill/delivery-details.json +41 -0
- data/data/schemas/bill/delivery.json +412 -0
- data/data/schemas/bill/discount.json +137 -0
- data/data/schemas/bill/invoice.json +423 -0
- data/data/schemas/bill/line.json +433 -0
- data/data/schemas/bill/order.json +401 -0
- data/data/schemas/bill/ordering.json +107 -0
- data/data/schemas/bill/payment-details.json +36 -0
- data/data/schemas/bill/payment.json +424 -0
- data/data/schemas/bill/tax.json +45 -0
- data/data/schemas/bill/totals.json +84 -0
- data/data/schemas/cal/date-time.json +13 -0
- data/data/schemas/cal/date.json +13 -0
- data/data/schemas/cal/period.json +32 -0
- data/data/schemas/cal/time.json +13 -0
- data/data/schemas/cbc/code-map.json +16 -0
- data/data/schemas/cbc/code.json +15 -0
- data/data/schemas/cbc/definition.json +67 -0
- data/data/schemas/cbc/key.json +15 -0
- data/data/schemas/cbc/meta.json +16 -0
- data/data/schemas/cbc/source.json +37 -0
- data/data/schemas/currency/amount.json +32 -0
- data/data/schemas/currency/code.json +734 -0
- data/data/schemas/currency/exchange-rate.json +43 -0
- data/data/schemas/dsig/digest.json +27 -0
- data/data/schemas/dsig/signature.json +12 -0
- data/data/schemas/envelope.json +41 -0
- data/data/schemas/head/header.json +62 -0
- data/data/schemas/head/link.json +42 -0
- data/data/schemas/head/stamp.json +27 -0
- data/data/schemas/i18n/string.json +18 -0
- data/data/schemas/l10n/code.json +13 -0
- data/data/schemas/l10n/iso-country-code.json +1010 -0
- data/data/schemas/l10n/tax-country-code.json +1022 -0
- data/data/schemas/note/message.json +43 -0
- data/data/schemas/num/amount.json +13 -0
- data/data/schemas/num/percentage.json +13 -0
- data/data/schemas/org/address.json +105 -0
- data/data/schemas/org/attachment.json +58 -0
- data/data/schemas/org/coordinates.json +33 -0
- data/data/schemas/org/document-ref.json +117 -0
- data/data/schemas/org/email.json +37 -0
- data/data/schemas/org/identity.json +57 -0
- data/data/schemas/org/image.json +70 -0
- data/data/schemas/org/inbox.json +49 -0
- data/data/schemas/org/item.json +96 -0
- data/data/schemas/org/name.json +59 -0
- data/data/schemas/org/note.json +184 -0
- data/data/schemas/org/party.json +129 -0
- data/data/schemas/org/person.json +90 -0
- data/data/schemas/org/registration.json +66 -0
- data/data/schemas/org/telephone.json +32 -0
- data/data/schemas/org/unit.json +350 -0
- data/data/schemas/org/website.json +38 -0
- data/data/schemas/pay/advance.json +211 -0
- data/data/schemas/pay/instructions.json +245 -0
- data/data/schemas/pay/terms.json +128 -0
- data/data/schemas/regimes/mx/food-vouchers.json +111 -0
- data/data/schemas/regimes/mx/fuel-account-balance.json +179 -0
- data/data/schemas/schema/object.json +12 -0
- data/data/schemas/tax/addon-def.json +288 -0
- data/data/schemas/tax/catalogue-def.json +37 -0
- data/data/schemas/tax/extensions.json +16 -0
- data/data/schemas/tax/identity.json +45 -0
- data/data/schemas/tax/regime-def.json +513 -0
- data/data/schemas/tax/set.json +139 -0
- data/data/schemas/tax/total.json +135 -0
- data/lib/gobl/extensions/tax/addon_helper.rb +37 -0
- data/lib/gobl/version.rb +1 -1
- data/lib/gobl.rb +1 -0
- metadata +93 -1
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://gobl.org/draft-0/tax/addon-def",
|
|
3
|
+
"key": "br-nfse-v1",
|
|
4
|
+
"name": {
|
|
5
|
+
"en": "Brazil NFS-e 1.X"
|
|
6
|
+
},
|
|
7
|
+
"extensions": [
|
|
8
|
+
{
|
|
9
|
+
"key": "br-nfse-cnae",
|
|
10
|
+
"name": {
|
|
11
|
+
"en": "CNAE code",
|
|
12
|
+
"pt": "Código CNAE"
|
|
13
|
+
},
|
|
14
|
+
"desc": {
|
|
15
|
+
"en": "The CNAE (National Classification of Economic Activities) code for a service.\n\nList of codes from the IBGE (Brazilian Institute of Geography and Statistics):\n\n* https://www.ibge.gov.br/en/statistics/technical-documents/statistical-lists-and-classifications/17245-national-classification-of-economic-activities.html"
|
|
16
|
+
},
|
|
17
|
+
"pattern": "^\\d{2}[\\s\\.\\-\\/]?\\d{2}[\\s\\.\\-\\/]?\\d[\\s\\.\\-\\/]?\\d{2}$"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"key": "br-nfse-fiscal-incentive",
|
|
21
|
+
"name": {
|
|
22
|
+
"en": "Fiscal Incentive",
|
|
23
|
+
"pt": "Incentivo Fiscal"
|
|
24
|
+
},
|
|
25
|
+
"desc": {
|
|
26
|
+
"en": "Indicates whether a party benefits from a fiscal incentive."
|
|
27
|
+
},
|
|
28
|
+
"sources": [
|
|
29
|
+
{
|
|
30
|
+
"title": {
|
|
31
|
+
"en": "NFS-e ABRASF Taxpayer Guidance Manual (v2.04)",
|
|
32
|
+
"pt": "NFS-e ABRASF Manual de Orientação do Contribuinte (v2.04)"
|
|
33
|
+
},
|
|
34
|
+
"url": "https://abrasf.org.br/biblioteca/arquivos-publicos/nfs-e-manual-de-orientacao-do-contribuinte-2-04/download"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"values": [
|
|
38
|
+
{
|
|
39
|
+
"code": "1",
|
|
40
|
+
"name": {
|
|
41
|
+
"en": "Has incentive",
|
|
42
|
+
"pt": "Possui incentivo"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"code": "2",
|
|
47
|
+
"name": {
|
|
48
|
+
"en": "Does not have incentive",
|
|
49
|
+
"pt": "Não possui incentivo"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"key": "br-nfse-iss-liability",
|
|
56
|
+
"name": {
|
|
57
|
+
"en": "ISS Liability",
|
|
58
|
+
"pt": "Exigibilidade ISS"
|
|
59
|
+
},
|
|
60
|
+
"desc": {
|
|
61
|
+
"en": "Indicates the ISS liability status, i.e., whether the ISS tax is due or not and why.\n\nList of codes from the national NFSe ABRASF (v2.04) model:\n\n* https://abrasf.org.br/biblioteca/arquivos-publicos/nfs-e-manual-de-orientacao-do-contribuinte-2-04/download\n(Section 10.2, Field B-38)"
|
|
62
|
+
},
|
|
63
|
+
"values": [
|
|
64
|
+
{
|
|
65
|
+
"code": "1",
|
|
66
|
+
"name": {
|
|
67
|
+
"en": "Liable",
|
|
68
|
+
"pt": "Exigível"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"code": "2",
|
|
73
|
+
"name": {
|
|
74
|
+
"en": "Not subject",
|
|
75
|
+
"pt": "Não incidência"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"code": "3",
|
|
80
|
+
"name": {
|
|
81
|
+
"en": "Exempt",
|
|
82
|
+
"pt": "Isenção"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"code": "4",
|
|
87
|
+
"name": {
|
|
88
|
+
"en": "Export",
|
|
89
|
+
"pt": "Exportação"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"code": "5",
|
|
94
|
+
"name": {
|
|
95
|
+
"en": "Immune",
|
|
96
|
+
"pt": "Imunidade"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"code": "6",
|
|
101
|
+
"name": {
|
|
102
|
+
"en": "Suspended Judicially",
|
|
103
|
+
"pt": "Suspensa por Decisão Judicial"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"code": "7",
|
|
108
|
+
"name": {
|
|
109
|
+
"en": "Suspended Administratively",
|
|
110
|
+
"pt": "Suspensa por Processo Administrativo"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"key": "br-nfse-service",
|
|
117
|
+
"name": {
|
|
118
|
+
"en": "Service Code",
|
|
119
|
+
"pt": "Código Item Lista Serviço"
|
|
120
|
+
},
|
|
121
|
+
"desc": {
|
|
122
|
+
"en": "The service code as defined by the municipality. Typically, one of the codes listed\nin the Lei Complementar 116/2003, but municipalities can make their own changes.\n\nFor further details on the list of possible codes, see:\n\n* https://www.planalto.gov.br/ccivil_03/leis/lcp/lcp116.htm"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"key": "br-nfse-simples",
|
|
127
|
+
"name": {
|
|
128
|
+
"en": "Opting for \"Simples Nacional\" regime",
|
|
129
|
+
"pt": "Optante pelo Simples Nacional"
|
|
130
|
+
},
|
|
131
|
+
"desc": {
|
|
132
|
+
"en": "Indicates whether a party is opting for the \"Simples Nacional\" (Regime Especial\nUnificado de Arrecadação de Tributos e Contribuições devidos pelas Microempresas e\nEmpresas de Pequeno Porte) tax regime"
|
|
133
|
+
},
|
|
134
|
+
"sources": [
|
|
135
|
+
{
|
|
136
|
+
"title": {
|
|
137
|
+
"en": "NFS-e ABRASF Taxpayer Guidance Manual (v2.04)",
|
|
138
|
+
"pt": "NFS-e ABRASF Manual de Orientação do Contribuinte (v2.04)"
|
|
139
|
+
},
|
|
140
|
+
"url": "https://abrasf.org.br/biblioteca/arquivos-publicos/nfs-e-manual-de-orientacao-do-contribuinte-2-04/download"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"values": [
|
|
144
|
+
{
|
|
145
|
+
"code": "1",
|
|
146
|
+
"name": {
|
|
147
|
+
"en": "Opt-in",
|
|
148
|
+
"pt": "Optante"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"code": "2",
|
|
153
|
+
"name": {
|
|
154
|
+
"en": "Opt-out",
|
|
155
|
+
"pt": "Não optante"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
]
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"key": "br-nfse-special-regime",
|
|
162
|
+
"name": {
|
|
163
|
+
"en": "Special Tax Regime",
|
|
164
|
+
"pt": "Regime Especial de Tributação"
|
|
165
|
+
},
|
|
166
|
+
"desc": {
|
|
167
|
+
"en": "Indicates a special tax regime that a party is subject to."
|
|
168
|
+
},
|
|
169
|
+
"sources": [
|
|
170
|
+
{
|
|
171
|
+
"title": {
|
|
172
|
+
"en": "NFS-e ABRASF Taxpayer Guidance Manual (v2.04)",
|
|
173
|
+
"pt": "NFS-e ABRASF Manual de Orientação do Contribuinte (v2.04)"
|
|
174
|
+
},
|
|
175
|
+
"url": "https://abrasf.org.br/biblioteca/arquivos-publicos/nfs-e-manual-de-orientacao-do-contribuinte-2-04/download"
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
"values": [
|
|
179
|
+
{
|
|
180
|
+
"code": "1",
|
|
181
|
+
"name": {
|
|
182
|
+
"en": "Municipal micro-enterprise",
|
|
183
|
+
"pt": "Microempresa municipal"
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"code": "2",
|
|
188
|
+
"name": {
|
|
189
|
+
"en": "Estimated",
|
|
190
|
+
"pt": "Estimativa"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"code": "3",
|
|
195
|
+
"name": {
|
|
196
|
+
"en": "Professional Society",
|
|
197
|
+
"pt": "Sociedade de profissionais"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"code": "4",
|
|
202
|
+
"name": {
|
|
203
|
+
"en": "Cooperative",
|
|
204
|
+
"pt": "Cooperativa"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"code": "5",
|
|
209
|
+
"name": {
|
|
210
|
+
"en": "Single micro-entrepreneur (MEI)",
|
|
211
|
+
"pt": "Microempreendedor individual (MEI)"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"code": "6",
|
|
216
|
+
"name": {
|
|
217
|
+
"en": "Micro-enterprise or Small Business (ME EPP)",
|
|
218
|
+
"pt": "Microempresa ou Empresa de Pequeno Porte (ME EPP)."
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
]
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"scenarios": null,
|
|
225
|
+
"identities": [
|
|
226
|
+
{
|
|
227
|
+
"key": "br-nfse-municipal-reg",
|
|
228
|
+
"name": {
|
|
229
|
+
"en": "Company Municipal Registration",
|
|
230
|
+
"pt": "Inscrição Municipal da Empresa"
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
"corrections": null
|
|
235
|
+
}
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://gobl.org/draft-0/tax/addon-def",
|
|
3
|
+
"key": "co-dian-v2",
|
|
4
|
+
"name": {
|
|
5
|
+
"en": "Colombia DIAN UBL 2.X"
|
|
6
|
+
},
|
|
7
|
+
"description": {
|
|
8
|
+
"en": "Extensions to support the Colombian DIAN (Dirección de Impuestos y Aduanas Nacionales)\nspecifications for electronic invoicing based on UBL 2.1."
|
|
9
|
+
},
|
|
10
|
+
"extensions": [
|
|
11
|
+
{
|
|
12
|
+
"key": "co-dian-municipality",
|
|
13
|
+
"name": {
|
|
14
|
+
"en": "DIAN Municipality Code",
|
|
15
|
+
"es": "Código de municipio DIAN"
|
|
16
|
+
},
|
|
17
|
+
"desc": {
|
|
18
|
+
"en": "The municipality code as defined by the DIAN.\n\nSet the 5-digit code for the municipality where the issuer is located in both\nthe supplier and customer:\n\n```js\n\"supplier\": {\n\t\"name\": \"EXAMPLE SUPPLIER S.A.S.\",\n\t\"tax_id\": {\n\t\t\"country\": \"CO\",\n\t\t\"code\": \"9014514812\"\n\t},\n\t\"ext\": {\n\t\t\"co-dian-municipality\": \"11001\" // Bogotá, D.C.\n\t},\n\t// [...]\n},\n\"customer\": {\n\t\"name\": \"EXAMPLE CUSTOMER S.A.S.\",\n\t\"tax_id\": {\n\t\t\"country\": \"CO\",\n\t\t\"code\": \"9014514805\"\n\t},\n\t\"ext\": {\n\t\t\"co-dian-municipality\": \"05001\" // Medellín\n\t},\n\t// [...]\n},\n```"
|
|
19
|
+
},
|
|
20
|
+
"sources": [
|
|
21
|
+
{
|
|
22
|
+
"title": {
|
|
23
|
+
"en": "DIAN Municipality Codes"
|
|
24
|
+
},
|
|
25
|
+
"url": "https://www.dian.gov.co/atencionciudadano/formulariosinstructivos/Formularios/2007/Codigos_municipios_2007.pdf",
|
|
26
|
+
"content_type": "application/pdf"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"title": {
|
|
30
|
+
"en": "Municipalities of Colombia - Github"
|
|
31
|
+
},
|
|
32
|
+
"url": "https://github.com/ALAxHxC/MunicipiosDane"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"pattern": "^\\d{5}$"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"key": "co-dian-credit-code",
|
|
39
|
+
"name": {
|
|
40
|
+
"en": "Credit Code",
|
|
41
|
+
"es": "Código de Crédito"
|
|
42
|
+
},
|
|
43
|
+
"desc": {
|
|
44
|
+
"en": "The DIAN correction code is required when issuing credit notes in Colombia\nand is not automatically assigned by GOBL. It must be be included inside the\n`preceding` document references.\n\nThe extension will be offered as an option in the invoice correction process.\n\nUsage example:\n\n```js\n\"preceding\": [\n\t{\n\t\t\"uuid\": \"0190e063-7676-7000-8c58-2db7172a4e58\",\n\t\t\"type\": \"standard\",\n\t\t\"series\": \"SETT\",\n\t\t\"code\": \"1010006\",\n\t\t\"issue_date\": \"2024-07-23\",\n\t\t\"reason\": \"Reason\",\n\t\t\"stamps\": [\n\t\t\t{\n\t\t\t\t\"prv\": \"dian-cude\",\n\t\t\t\t\"val\": \"57601dd1ab69213ccf8cfd5894f2e9fbfe23643f3a24e2f2526a5bb88d058a0842fffcb339694b6704dc105a9d813327\"\n\t\t\t}\n\t\t],\n\t\t\"ext\": {\n\t\t\t\"co-dian-credit-code\": \"3\"\n\t\t}\n\t}\n],\n```"
|
|
45
|
+
},
|
|
46
|
+
"values": [
|
|
47
|
+
{
|
|
48
|
+
"code": "1",
|
|
49
|
+
"name": {
|
|
50
|
+
"en": "Partial refund",
|
|
51
|
+
"es": "Devolución parcial"
|
|
52
|
+
},
|
|
53
|
+
"desc": {
|
|
54
|
+
"en": "Partial refund of part of the goods or services.",
|
|
55
|
+
"es": "Devolución de parte de los bienes; no aceptación de partes del servicio."
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"code": "2",
|
|
60
|
+
"name": {
|
|
61
|
+
"en": "Revoked",
|
|
62
|
+
"es": "Anulación"
|
|
63
|
+
},
|
|
64
|
+
"desc": {
|
|
65
|
+
"en": "Previous document has been completely cancelled.",
|
|
66
|
+
"es": "Anulación de la factura anterior."
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"code": "3",
|
|
71
|
+
"name": {
|
|
72
|
+
"en": "Discount",
|
|
73
|
+
"es": "Descuento"
|
|
74
|
+
},
|
|
75
|
+
"desc": {
|
|
76
|
+
"en": "Partial or total discount.",
|
|
77
|
+
"es": "Rebaja o descuento parcial o total."
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"code": "4",
|
|
82
|
+
"name": {
|
|
83
|
+
"en": "Adjustment",
|
|
84
|
+
"es": "Ajuste"
|
|
85
|
+
},
|
|
86
|
+
"desc": {
|
|
87
|
+
"en": "Price adjustment.",
|
|
88
|
+
"es": "Ajuste de precio."
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"code": "5",
|
|
93
|
+
"name": {
|
|
94
|
+
"en": "Other",
|
|
95
|
+
"es": "Otros"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"key": "co-dian-debit-code",
|
|
102
|
+
"name": {
|
|
103
|
+
"en": "Debit Code",
|
|
104
|
+
"es": "Código de Débito"
|
|
105
|
+
},
|
|
106
|
+
"desc": {
|
|
107
|
+
"en": "The DIAN correction code is required when issuing debit notes in Colombia\nand is not automatically assigned by GOBL.\n\nThe extension will be offered as an option in the invoice correction process."
|
|
108
|
+
},
|
|
109
|
+
"values": [
|
|
110
|
+
{
|
|
111
|
+
"code": "1",
|
|
112
|
+
"name": {
|
|
113
|
+
"en": "Interest",
|
|
114
|
+
"es": "Intereses"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"code": "2",
|
|
119
|
+
"name": {
|
|
120
|
+
"en": "Pending charges",
|
|
121
|
+
"es": "Gastos por cobrar"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"code": "3",
|
|
126
|
+
"name": {
|
|
127
|
+
"en": "Change in value",
|
|
128
|
+
"es": "Cambio del valor"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"code": "4",
|
|
133
|
+
"name": {
|
|
134
|
+
"en": "Other",
|
|
135
|
+
"es": "Otros"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"key": "co-dian-fiscal-responsibility",
|
|
142
|
+
"name": {
|
|
143
|
+
"en": "Fiscal Responsibility Code",
|
|
144
|
+
"es": "Código de Responsabilidad Fiscal"
|
|
145
|
+
},
|
|
146
|
+
"desc": {
|
|
147
|
+
"en": "The fiscal responsibility code as defined by the DIAN for Colombian electronic invoicing.\nMaps to the UBL's `TaxLevelCode` field.\n\nThe DIAN requires that Colombian invoices specify the fiscal responsibilities of the\nsupplier or customer using specific codes. If no value is provided, GOBL will\nautomatically set `R-99-PN` as the default.\n\n| Code | Description |\n| ------- | ----------------------------- |\n| O-13 | Gran contribuyente |\n| O-15 | Autorretenedor |\n| O-23 | Agente de retención IVA |\n| O-47 | Régimen simple de tributación |\n| R-99-PN | No aplica - Otros |\n\nFor example:\n\n```js\n\"customer\": {\n\t\"name\": \"EXAMPLE CUSTOMER S.A.S.\",\n\t\"tax_id\": {\n\t\t\"country\": \"CO\",\n\t\t\"code\": \"9014514812\"\n\t},\n\t\"ext\": {\n\t\t\"co-dian-fiscal-responsibility\": \"O-13\"\n\t}\n}\n```"
|
|
148
|
+
},
|
|
149
|
+
"sources": [
|
|
150
|
+
{
|
|
151
|
+
"title": {
|
|
152
|
+
"en": "DIAN Fiscal Responsibility Codes, see Anexo Tecnico/Tablas Referenciadas, table 13.2.6.1"
|
|
153
|
+
},
|
|
154
|
+
"url": "https://www.dian.gov.co/impuestos/factura-electronica/Documents/Caja-de-herramientas-FE-V1-9.zip",
|
|
155
|
+
"content_type": "application/zip"
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"values": [
|
|
159
|
+
{
|
|
160
|
+
"code": "O-13",
|
|
161
|
+
"name": {
|
|
162
|
+
"en": "Major taxpayer",
|
|
163
|
+
"es": "Gran contribuyente"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"code": "O-15",
|
|
168
|
+
"name": {
|
|
169
|
+
"en": "Self-withholder",
|
|
170
|
+
"es": "Autorretenedor"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"code": "O-23",
|
|
175
|
+
"name": {
|
|
176
|
+
"en": "VAT withholding agent",
|
|
177
|
+
"es": "Agente de retención IVA"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"code": "O-47",
|
|
182
|
+
"name": {
|
|
183
|
+
"en": "Simple tax regime",
|
|
184
|
+
"es": "Régimen simple de tributación"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"code": "R-99-PN",
|
|
189
|
+
"name": {
|
|
190
|
+
"en": "Not applicable – Others",
|
|
191
|
+
"es": "No aplica – Otros"
|
|
192
|
+
},
|
|
193
|
+
"desc": {
|
|
194
|
+
"en": "Used when the issuer/acquirer does not have any of the first 4 responsibilities. Applies to legal entities, individuals, or final consumers.",
|
|
195
|
+
"es": "Se utiliza cuando el emisor/adquiriente no cuenta con las primeras 4 responsabilidades. Aplica para personas jurídicas, personas naturales o consumidor final."
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
"scenarios": null,
|
|
202
|
+
"identities": [
|
|
203
|
+
{
|
|
204
|
+
"key": "co-civil-register",
|
|
205
|
+
"name": {
|
|
206
|
+
"en": "Civil Registry",
|
|
207
|
+
"es": "Registro Civil"
|
|
208
|
+
},
|
|
209
|
+
"map": {
|
|
210
|
+
"dian-company-id": "11"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"key": "co-id-card",
|
|
215
|
+
"name": {
|
|
216
|
+
"en": "Identity Card",
|
|
217
|
+
"es": "Tarjeta de Identidad"
|
|
218
|
+
},
|
|
219
|
+
"map": {
|
|
220
|
+
"dian-company-id": "12"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"key": "co-citizen-id",
|
|
225
|
+
"name": {
|
|
226
|
+
"en": "Citizen Identity Card",
|
|
227
|
+
"es": "Cédula de ciudadanía"
|
|
228
|
+
},
|
|
229
|
+
"map": {
|
|
230
|
+
"dian-company-id": "13"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"key": "co-foreigner-id-card",
|
|
235
|
+
"name": {
|
|
236
|
+
"en": "Foreigner Identity Card",
|
|
237
|
+
"es": "Tarjeta de Extranjería"
|
|
238
|
+
},
|
|
239
|
+
"map": {
|
|
240
|
+
"dian-company-id": "21"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"key": "co-foreigner-id",
|
|
245
|
+
"name": {
|
|
246
|
+
"en": "Foreigner Citizen Identity",
|
|
247
|
+
"es": "Cédula de extranjería"
|
|
248
|
+
},
|
|
249
|
+
"map": {
|
|
250
|
+
"dian-company-id": "22"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"key": "co-passport",
|
|
255
|
+
"name": {
|
|
256
|
+
"en": "Passport",
|
|
257
|
+
"es": "Pasaporte"
|
|
258
|
+
},
|
|
259
|
+
"map": {
|
|
260
|
+
"dian-company-id": "41"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"key": "co-foreign-id",
|
|
265
|
+
"name": {
|
|
266
|
+
"en": "Foreign Document",
|
|
267
|
+
"es": "Documento de identificación extranjero"
|
|
268
|
+
},
|
|
269
|
+
"map": {
|
|
270
|
+
"dian-company-id": "42"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"key": "co-pep",
|
|
275
|
+
"name": {
|
|
276
|
+
"en": "PEP - Special Permit to Stay",
|
|
277
|
+
"es": "PEP - Permiso Especial de Permanencia"
|
|
278
|
+
},
|
|
279
|
+
"map": {
|
|
280
|
+
"dian-company-id": "47"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"key": "co-nuip",
|
|
285
|
+
"name": {
|
|
286
|
+
"en": "NUIP - National Unique Personal Identification Number",
|
|
287
|
+
"es": "NUIP - Número Único de Identificación Personal"
|
|
288
|
+
},
|
|
289
|
+
"map": {
|
|
290
|
+
"dian-company-id": "91"
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
"corrections": [
|
|
295
|
+
{
|
|
296
|
+
"schema": "bill/invoice",
|
|
297
|
+
"types": [
|
|
298
|
+
"credit-note",
|
|
299
|
+
"debit-note"
|
|
300
|
+
],
|
|
301
|
+
"extensions": [
|
|
302
|
+
"co-dian-credit-code",
|
|
303
|
+
"co-dian-debit-code"
|
|
304
|
+
],
|
|
305
|
+
"reason_required": true,
|
|
306
|
+
"stamps": [
|
|
307
|
+
"dian-cude"
|
|
308
|
+
]
|
|
309
|
+
}
|
|
310
|
+
]
|
|
311
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://gobl.org/draft-0/tax/addon-def",
|
|
3
|
+
"key": "de-xrechnung-v3",
|
|
4
|
+
"requires": [
|
|
5
|
+
"eu-en16931-v2017"
|
|
6
|
+
],
|
|
7
|
+
"name": {
|
|
8
|
+
"en": "German XRechnung 3.X"
|
|
9
|
+
},
|
|
10
|
+
"description": {
|
|
11
|
+
"en": "Support for the German XRechnung version 3.X standard for electronic invoicing.\nXRechnung is based on the European Norm (EN) 16931 and is mandatory for business-to-government\n(B2G) invoices in Germany. This addon provides the necessary structures and validations to\nensure compliance with the XRechnung specifications.\n\nFor more information on XRechnung, visit [www.xrechnung.de](https://www.xrechnung.de/)."
|
|
12
|
+
},
|
|
13
|
+
"extensions": null,
|
|
14
|
+
"scenarios": null,
|
|
15
|
+
"corrections": null
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://gobl.org/draft-0/tax/addon-def",
|
|
3
|
+
"key": "de-zugferd-v2",
|
|
4
|
+
"requires": [
|
|
5
|
+
"eu-en16931-v2017"
|
|
6
|
+
],
|
|
7
|
+
"name": {
|
|
8
|
+
"en": "German ZUGFeRD 2.X"
|
|
9
|
+
},
|
|
10
|
+
"description": {
|
|
11
|
+
"en": "Support for the German ZUGFeRD version 2.2 and upwards standard for electronic\ninvoicing. ZUGFeRD 2.2 and Factur-X 1.0 are fully compatible and technically\nidentical formats the use the Factur-X identifier.\n\nCurrently this is just a placeholder addon as the EN16931 addon will provide\nall validation requirements.\n\nFor more information, visit [www.ferd-net.de](https://www.ferd-net.de/)."
|
|
12
|
+
},
|
|
13
|
+
"extensions": null,
|
|
14
|
+
"scenarios": null,
|
|
15
|
+
"corrections": null
|
|
16
|
+
}
|