gobl 0.20.0 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/data/regimes/at.json +160 -0
- data/data/regimes/be.json +169 -0
- data/data/regimes/ca.json +10 -1
- data/data/regimes/ch.json +158 -0
- data/data/regimes/co.json +179 -169
- data/data/regimes/de.json +63 -49
- data/data/regimes/el.json +204 -0
- data/data/regimes/es.json +84 -557
- data/data/regimes/fr.json +57 -52
- data/data/regimes/gb.json +67 -50
- data/data/regimes/gr.json +591 -0
- data/data/regimes/it.json +62 -1298
- data/data/regimes/mx.json +38 -627
- data/data/regimes/nl.json +63 -50
- data/data/regimes/pl.json +161 -101
- data/data/regimes/pt.json +44 -365
- data/data/regimes/us.json +63 -49
- data/lib/generated/gobl/bill/charge.rb +6 -7
- data/lib/generated/gobl/bill/correction_options.rb +5 -1
- data/lib/generated/gobl/bill/delivery.rb +0 -1
- data/lib/generated/gobl/bill/discount.rb +5 -6
- data/lib/generated/gobl/bill/invoice.rb +51 -12
- data/lib/generated/gobl/bill/line.rb +3 -4
- data/lib/generated/gobl/bill/line_charge.rb +0 -1
- data/lib/generated/gobl/bill/line_discount.rb +0 -1
- data/lib/generated/gobl/bill/ordering.rb +34 -35
- data/lib/generated/gobl/bill/outlay.rb +3 -4
- data/lib/generated/gobl/bill/payment.rb +0 -1
- data/lib/generated/gobl/bill/tax.rb +4 -5
- data/lib/generated/gobl/bill/totals.rb +0 -1
- data/lib/generated/gobl/cal/date.rb +0 -1
- data/lib/generated/gobl/cal/date_time.rb +0 -1
- data/lib/generated/gobl/cal/period.rb +0 -1
- data/lib/generated/gobl/cbc/code.rb +0 -1
- data/lib/generated/gobl/cbc/code_map.rb +0 -1
- data/lib/generated/gobl/cbc/key.rb +0 -1
- data/lib/generated/gobl/cbc/key_definition.rb +4 -10
- data/lib/generated/gobl/cbc/meta.rb +0 -1
- data/lib/generated/gobl/cbc/note.rb +0 -1
- data/lib/generated/gobl/cbc/value_definition.rb +37 -0
- data/lib/generated/gobl/currency/amount.rb +33 -0
- data/lib/generated/gobl/currency/code.rb +118 -105
- data/lib/generated/gobl/currency/exchange_rate.rb +17 -7
- data/lib/generated/gobl/dsig/digest.rb +0 -1
- data/lib/generated/gobl/dsig/signature.rb +0 -1
- data/lib/generated/gobl/envelope.rb +0 -1
- data/lib/generated/gobl/head/header.rb +7 -8
- data/lib/generated/gobl/head/link.rb +43 -0
- data/lib/generated/gobl/head/stamp.rb +0 -1
- data/lib/generated/gobl/i18n/string.rb +0 -1
- data/lib/generated/gobl/l10n/code.rb +0 -1
- data/lib/generated/gobl/l10n/{country_code.rb → iso_country_code.rb} +3 -4
- data/lib/generated/gobl/l10n/tax_country_code.rb +277 -0
- data/lib/generated/gobl/note/message.rb +5 -1
- data/lib/generated/gobl/org/address.rb +5 -7
- data/lib/generated/gobl/org/coordinates.rb +0 -1
- data/lib/generated/gobl/org/document_ref.rb +87 -0
- data/lib/generated/gobl/org/email.rb +3 -4
- data/lib/generated/gobl/org/identity.rb +8 -4
- data/lib/generated/gobl/org/image.rb +3 -4
- data/lib/generated/gobl/org/inbox.rb +3 -4
- data/lib/generated/gobl/org/item.rb +10 -6
- data/lib/generated/gobl/org/name.rb +3 -6
- data/lib/generated/gobl/org/party.rb +8 -5
- data/lib/generated/gobl/org/person.rb +8 -4
- data/lib/generated/gobl/org/registration.rb +11 -3
- data/lib/generated/gobl/org/telephone.rb +3 -4
- data/lib/generated/gobl/org/unit.rb +0 -1
- data/lib/generated/gobl/org/website.rb +4 -5
- data/lib/generated/gobl/pay/advance.rb +8 -4
- data/lib/generated/gobl/pay/card.rb +0 -1
- data/lib/generated/gobl/pay/credit_transfer.rb +0 -1
- data/lib/generated/gobl/pay/direct_debit.rb +0 -1
- data/lib/generated/gobl/pay/due_date.rb +0 -1
- data/lib/generated/gobl/pay/instructions.rb +5 -1
- data/lib/generated/gobl/pay/online.rb +12 -8
- data/lib/generated/gobl/pay/terms.rb +0 -1
- data/lib/generated/gobl/regimes/mx/food_vouchers.rb +0 -1
- data/lib/generated/gobl/regimes/mx/food_vouchers_employee.rb +0 -1
- data/lib/generated/gobl/regimes/mx/food_vouchers_line.rb +0 -1
- data/lib/generated/gobl/regimes/mx/fuel_account_balance.rb +0 -1
- data/lib/generated/gobl/regimes/mx/fuel_account_item.rb +0 -1
- data/lib/generated/gobl/regimes/mx/fuel_account_line.rb +0 -2
- data/lib/generated/gobl/regimes/mx/fuel_account_tax.rb +11 -9
- data/lib/generated/gobl/schema/object.rb +0 -1
- data/lib/generated/gobl/tax/addon_def.rb +61 -0
- data/lib/generated/gobl/tax/{category.rb → category_def.rb} +11 -12
- data/lib/generated/gobl/tax/category_total.rb +0 -1
- data/lib/generated/gobl/tax/combo.rb +6 -2
- data/lib/generated/gobl/tax/correction_definition.rb +1 -2
- data/lib/generated/gobl/tax/correction_set.rb +13 -0
- data/lib/generated/gobl/tax/extensions.rb +0 -1
- data/lib/generated/gobl/tax/identity.rb +13 -19
- data/lib/generated/gobl/tax/{rate.rb → rate_def.rb} +11 -17
- data/lib/generated/gobl/tax/rate_total.rb +6 -2
- data/lib/generated/gobl/tax/rate_total_surcharge.rb +0 -1
- data/lib/generated/gobl/tax/{rate_value.rb → rate_value_def.rb} +9 -5
- data/lib/generated/gobl/tax/{regime.rb → regime_def.rb} +38 -24
- data/lib/generated/gobl/tax/scenario.rb +20 -11
- data/lib/generated/gobl/tax/scenario_set.rb +1 -2
- data/lib/generated/gobl/tax/set.rb +0 -1
- data/lib/generated/gobl/tax/source.rb +1 -2
- data/lib/generated/gobl/tax/tag_set.rb +28 -0
- data/lib/generated/gobl/tax/total.rb +0 -1
- data/lib/gobl/extensions/bill/invoice_helper.rb +6 -36
- data/lib/gobl/extensions/envelope_helper.rb +4 -0
- data/lib/gobl/version.rb +1 -1
- data/lib/gobl.rb +3 -2
- metadata +20 -12
- data/lib/generated/gobl/bill/document_reference.rb +0 -37
- data/lib/generated/gobl/bill/preceding.rb +0 -79
- data/lib/generated/gobl/cbc/code_definition.rb +0 -38
- data/lib/generated/gobl/uuid/uuid.rb +0 -17
- data/lib/gobl/extensions/bill/scenario_summary.rb +0 -25
data/data/regimes/co.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"$schema": "https://gobl.org/draft-0/tax/regime",
|
2
|
+
"$schema": "https://gobl.org/draft-0/tax/regime-def",
|
3
3
|
"name": {
|
4
4
|
"en": "Colombia",
|
5
5
|
"es": "Colombia"
|
@@ -12,272 +12,282 @@
|
|
12
12
|
"currency": "COP",
|
13
13
|
"tags": [
|
14
14
|
{
|
15
|
-
"
|
15
|
+
"schema": "bill/invoice",
|
16
|
+
"list": [
|
17
|
+
{
|
18
|
+
"key": "simplified",
|
19
|
+
"name": {
|
20
|
+
"de": "Vereinfachte Rechnung",
|
21
|
+
"en": "Simplified Invoice",
|
22
|
+
"es": "Factura Simplificada",
|
23
|
+
"it": "Fattura Semplificata"
|
24
|
+
},
|
25
|
+
"desc": {
|
26
|
+
"de": "Wird für B2C-Transaktionen verwendet, wenn die Kundendaten nicht verfügbar sind. Bitte wenden Sie sich an die örtlichen Behörden, um die Grenzwerte zu ermitteln.",
|
27
|
+
"en": "Used for B2C transactions when the client details are not available, check with local authorities for limits.",
|
28
|
+
"es": "Usado para transacciones B2C cuando los detalles del cliente no están disponibles, consulte con las autoridades locales para los límites.",
|
29
|
+
"it": "Utilizzato per le transazioni B2C quando i dettagli del cliente non sono disponibili, controllare con le autorità locali per i limiti."
|
30
|
+
}
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"key": "reverse-charge",
|
34
|
+
"name": {
|
35
|
+
"de": "Umkehr der Steuerschuld",
|
36
|
+
"en": "Reverse Charge",
|
37
|
+
"es": "Inversión del Sujeto Pasivo",
|
38
|
+
"it": "Inversione del soggetto passivo"
|
39
|
+
}
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"key": "self-billed",
|
43
|
+
"name": {
|
44
|
+
"de": "Rechnung durch den Leistungsempfänger",
|
45
|
+
"en": "Self-billed",
|
46
|
+
"es": "Facturación por el destinatario",
|
47
|
+
"it": "Autofattura"
|
48
|
+
}
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"key": "customer-rates",
|
52
|
+
"name": {
|
53
|
+
"de": "Kundensätze",
|
54
|
+
"en": "Customer rates",
|
55
|
+
"es": "Tarifas aplicables al destinatario",
|
56
|
+
"it": "Aliquote applicabili al destinatario"
|
57
|
+
}
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"key": "partial",
|
61
|
+
"name": {
|
62
|
+
"de": "Teilweise",
|
63
|
+
"en": "Partial",
|
64
|
+
"es": "Parcial",
|
65
|
+
"it": "Parziale"
|
66
|
+
}
|
67
|
+
}
|
68
|
+
]
|
69
|
+
}
|
70
|
+
],
|
71
|
+
"extensions": [
|
72
|
+
{
|
73
|
+
"key": "co-dian-municipality",
|
16
74
|
"name": {
|
17
|
-
"
|
18
|
-
"
|
19
|
-
"es": "Factura Simplificada",
|
20
|
-
"it": "Fattura Semplificata"
|
75
|
+
"en": "DIAN Municipality Code",
|
76
|
+
"es": "Código de municipio DIAN"
|
21
77
|
},
|
22
78
|
"desc": {
|
23
|
-
"
|
24
|
-
|
25
|
-
|
26
|
-
"it": "Utilizzato per le transazioni B2C quando i dettagli del cliente non sono disponibili, controllare con le autorità locali per i limiti."
|
27
|
-
}
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"key": "reverse-charge",
|
31
|
-
"name": {
|
32
|
-
"de": "Umkehr der Steuerschuld",
|
33
|
-
"en": "Reverse Charge",
|
34
|
-
"es": "Inversión del Sujeto Pasivo",
|
35
|
-
"it": "Inversione del soggetto passivo"
|
36
|
-
}
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"key": "self-billed",
|
40
|
-
"name": {
|
41
|
-
"de": "Rechnung durch den Leistungsempfänger",
|
42
|
-
"en": "Self-billed",
|
43
|
-
"es": "Facturación por el destinatario",
|
44
|
-
"it": "Autofattura"
|
45
|
-
}
|
79
|
+
"en": "The municipality code as defined by the DIAN.\n\nFor further details on the list of possible codes, see:\n\n * https://www.dian.gov.co/atencionciudadano/formulariosinstructivos/Formularios/2007/Codigos_municipios_2007.pdf\n * https://github.com/ALAxHxC/MunicipiosDane"
|
80
|
+
},
|
81
|
+
"pattern": "^\\d{5}$"
|
46
82
|
},
|
47
83
|
{
|
48
|
-
"key": "
|
84
|
+
"key": "co-dian-credit-code",
|
49
85
|
"name": {
|
50
|
-
"
|
51
|
-
"
|
52
|
-
|
53
|
-
|
54
|
-
|
86
|
+
"en": "Credit Code",
|
87
|
+
"es": "Código de Crédito"
|
88
|
+
},
|
89
|
+
"desc": {
|
90
|
+
"en": "DIAN correction code for credit notes",
|
91
|
+
"es": "Código de corrección DIAN para notas de crédito"
|
92
|
+
},
|
93
|
+
"values": [
|
94
|
+
{
|
95
|
+
"value": "1",
|
96
|
+
"name": {
|
97
|
+
"en": "Partial refund",
|
98
|
+
"es": "Devolución parcial"
|
99
|
+
},
|
100
|
+
"desc": {
|
101
|
+
"en": "Partial refund of part of the goods or services.",
|
102
|
+
"es": "Devolución de parte de los bienes; no aceptación de partes del servicio."
|
103
|
+
}
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"value": "2",
|
107
|
+
"name": {
|
108
|
+
"en": "Revoked",
|
109
|
+
"es": "Anulación"
|
110
|
+
},
|
111
|
+
"desc": {
|
112
|
+
"en": "Previous document has been completely cancelled.",
|
113
|
+
"es": "Anulación de la factura anterior."
|
114
|
+
}
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"value": "3",
|
118
|
+
"name": {
|
119
|
+
"en": "Discount",
|
120
|
+
"es": "Descuento"
|
121
|
+
},
|
122
|
+
"desc": {
|
123
|
+
"en": "Partial or total discount.",
|
124
|
+
"es": "Rebaja o descuento parcial o total."
|
125
|
+
}
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"value": "4",
|
129
|
+
"name": {
|
130
|
+
"en": "Adjustment",
|
131
|
+
"es": "Ajuste"
|
132
|
+
},
|
133
|
+
"desc": {
|
134
|
+
"en": "Price adjustment.",
|
135
|
+
"es": "Ajuste de precio."
|
136
|
+
}
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"value": "5",
|
140
|
+
"name": {
|
141
|
+
"en": "Other",
|
142
|
+
"es": "Otros"
|
143
|
+
}
|
144
|
+
}
|
145
|
+
]
|
55
146
|
},
|
56
147
|
{
|
57
|
-
"key": "
|
148
|
+
"key": "co-dian-debit-code",
|
58
149
|
"name": {
|
59
|
-
"
|
60
|
-
"
|
61
|
-
|
62
|
-
|
63
|
-
|
150
|
+
"en": "Debit Code",
|
151
|
+
"es": "Código de Débito"
|
152
|
+
},
|
153
|
+
"desc": {
|
154
|
+
"en": "DIAN correction code for debit notes",
|
155
|
+
"es": "Código de corrección DIAN para notas de débito"
|
156
|
+
},
|
157
|
+
"values": [
|
158
|
+
{
|
159
|
+
"value": "1",
|
160
|
+
"name": {
|
161
|
+
"en": "Interest",
|
162
|
+
"es": "Intereses"
|
163
|
+
}
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"value": "2",
|
167
|
+
"name": {
|
168
|
+
"en": "Pending charges",
|
169
|
+
"es": "Gastos por cobrar"
|
170
|
+
}
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"value": "3",
|
174
|
+
"name": {
|
175
|
+
"en": "Change in value",
|
176
|
+
"es": "Cambio del valor"
|
177
|
+
}
|
178
|
+
},
|
179
|
+
{
|
180
|
+
"value": "4",
|
181
|
+
"name": {
|
182
|
+
"en": "Other",
|
183
|
+
"es": "Otros"
|
184
|
+
}
|
185
|
+
}
|
186
|
+
]
|
64
187
|
}
|
65
188
|
],
|
66
|
-
"
|
67
|
-
{
|
68
|
-
"key": "tin",
|
69
|
-
"name": {
|
70
|
-
"en": "TIN - Tax Identification Number",
|
71
|
-
"es": "NIT - Número de Identificación Tributaria"
|
72
|
-
},
|
73
|
-
"map": {
|
74
|
-
"dian-additional-account-id": "1",
|
75
|
-
"dian-company-id": "31"
|
76
|
-
}
|
77
|
-
},
|
189
|
+
"identity_keys": [
|
78
190
|
{
|
79
|
-
"key": "civil",
|
191
|
+
"key": "co-civil-register",
|
80
192
|
"name": {
|
81
193
|
"en": "Civil Registry",
|
82
194
|
"es": "Registro Civil"
|
83
195
|
},
|
84
196
|
"map": {
|
85
|
-
"dian-additional-account-id": "2",
|
86
197
|
"dian-company-id": "11"
|
87
198
|
}
|
88
199
|
},
|
89
200
|
{
|
90
|
-
"key": "card",
|
201
|
+
"key": "co-id-card",
|
91
202
|
"name": {
|
92
203
|
"en": "Identity Card",
|
93
204
|
"es": "Tarjeta de Identidad"
|
94
205
|
},
|
95
206
|
"map": {
|
96
|
-
"dian-additional-account-id": "2",
|
97
207
|
"dian-company-id": "12"
|
98
208
|
}
|
99
209
|
},
|
100
210
|
{
|
101
|
-
"key": "citizen",
|
211
|
+
"key": "co-citizen-id",
|
102
212
|
"name": {
|
103
213
|
"en": "Citizen Identity Card",
|
104
214
|
"es": "Cédula de ciudadanía"
|
105
215
|
},
|
106
216
|
"map": {
|
107
|
-
"dian-additional-account-id": "2",
|
108
217
|
"dian-company-id": "13"
|
109
218
|
}
|
110
219
|
},
|
111
220
|
{
|
112
|
-
"key": "card
|
221
|
+
"key": "co-foreigner-id-card",
|
113
222
|
"name": {
|
114
223
|
"en": "Foreigner Identity Card",
|
115
224
|
"es": "Tarjeta de Extranjería"
|
116
225
|
},
|
117
226
|
"map": {
|
118
|
-
"dian-additional-account-id": "2",
|
119
227
|
"dian-company-id": "21"
|
120
228
|
}
|
121
229
|
},
|
122
230
|
{
|
123
|
-
"key": "
|
231
|
+
"key": "co-foreigner-id",
|
124
232
|
"name": {
|
125
|
-
"en": "Foreigner Citizen Identity
|
233
|
+
"en": "Foreigner Citizen Identity",
|
126
234
|
"es": "Cédula de extranjería"
|
127
235
|
},
|
128
236
|
"map": {
|
129
|
-
"dian-additional-account-id": "2",
|
130
237
|
"dian-company-id": "22"
|
131
238
|
}
|
132
239
|
},
|
133
240
|
{
|
134
|
-
"key": "
|
135
|
-
"name": {
|
136
|
-
"en": "TIN of an individual",
|
137
|
-
"es": "NIT de persona natural"
|
138
|
-
},
|
139
|
-
"map": {
|
140
|
-
"dian-additional-account-id": "2",
|
141
|
-
"dian-company-id": "31"
|
142
|
-
}
|
143
|
-
},
|
144
|
-
{
|
145
|
-
"key": "passport",
|
241
|
+
"key": "co-passport",
|
146
242
|
"name": {
|
147
243
|
"en": "Passport",
|
148
244
|
"es": "Pasaporte"
|
149
245
|
},
|
150
246
|
"map": {
|
151
|
-
"dian-additional-account-id": "2",
|
152
247
|
"dian-company-id": "41"
|
153
248
|
}
|
154
249
|
},
|
155
250
|
{
|
156
|
-
"key": "foreign",
|
251
|
+
"key": "co-foreign-id",
|
157
252
|
"name": {
|
158
253
|
"en": "Foreign Document",
|
159
254
|
"es": "Documento de identificación extranjero"
|
160
255
|
},
|
161
256
|
"map": {
|
162
|
-
"dian-additional-account-id": "2",
|
163
257
|
"dian-company-id": "42"
|
164
258
|
}
|
165
259
|
},
|
166
260
|
{
|
167
|
-
"key": "pep",
|
261
|
+
"key": "co-pep",
|
168
262
|
"name": {
|
169
263
|
"en": "PEP - Special Permit to Stay",
|
170
264
|
"es": "PEP - Permiso Especial de Permanencia"
|
171
265
|
},
|
172
266
|
"map": {
|
173
|
-
"dian-additional-account-id": "2",
|
174
267
|
"dian-company-id": "47"
|
175
268
|
}
|
176
269
|
},
|
177
270
|
{
|
178
|
-
"key": "
|
179
|
-
"name": {
|
180
|
-
"en": "Foreign TIN",
|
181
|
-
"es": "NIT de otro país"
|
182
|
-
},
|
183
|
-
"map": {
|
184
|
-
"dian-additional-account-id": "1",
|
185
|
-
"dian-company-id": "50"
|
186
|
-
}
|
187
|
-
},
|
188
|
-
{
|
189
|
-
"key": "nuip",
|
271
|
+
"key": "co-nuip",
|
190
272
|
"name": {
|
191
273
|
"en": "NUIP - National Unique Personal Identification Number",
|
192
274
|
"es": "NUIP - Número Único de Identificación Personal"
|
193
275
|
},
|
194
276
|
"map": {
|
195
|
-
"dian-additional-account-id": "2",
|
196
277
|
"dian-company-id": "91"
|
197
278
|
}
|
198
279
|
}
|
199
280
|
],
|
200
|
-
"extensions": [
|
201
|
-
{
|
202
|
-
"key": "co-dian-municipality",
|
203
|
-
"name": {
|
204
|
-
"en": "DIAN Municipality Code",
|
205
|
-
"es": "Código de municipio DIAN"
|
206
|
-
},
|
207
|
-
"desc": {
|
208
|
-
"en": "The municipality code as defined by the DIAN.\n\nFor further details on the list of possible codes, see:\n\n * https://www.dian.gov.co/atencionciudadano/formulariosinstructivos/Formularios/2007/Codigos_municipios_2007.pdf\n * https://github.com/ALAxHxC/MunicipiosDane"
|
209
|
-
},
|
210
|
-
"pattern": "^\\d{5}$"
|
211
|
-
},
|
212
|
-
{
|
213
|
-
"key": "co-dian-correction",
|
214
|
-
"name": {
|
215
|
-
"en": "DIAN Correction Code",
|
216
|
-
"es": "Código de corrección DIAN"
|
217
|
-
},
|
218
|
-
"codes": [
|
219
|
-
{
|
220
|
-
"code": "1",
|
221
|
-
"name": {
|
222
|
-
"en": "Partial refund",
|
223
|
-
"es": "Devolución parcial"
|
224
|
-
},
|
225
|
-
"desc": {
|
226
|
-
"en": "Partial refund of part of the goods or services.",
|
227
|
-
"es": "Devolución de parte de los bienes; no aceptación de partes del servicio."
|
228
|
-
}
|
229
|
-
},
|
230
|
-
{
|
231
|
-
"code": "2",
|
232
|
-
"name": {
|
233
|
-
"en": "Revoked",
|
234
|
-
"es": "Anulación"
|
235
|
-
},
|
236
|
-
"desc": {
|
237
|
-
"en": "Previous document has been completely cancelled.",
|
238
|
-
"es": "Anulación de la factura anterior."
|
239
|
-
}
|
240
|
-
},
|
241
|
-
{
|
242
|
-
"code": "3",
|
243
|
-
"name": {
|
244
|
-
"en": "Discount",
|
245
|
-
"es": "Descuento"
|
246
|
-
},
|
247
|
-
"desc": {
|
248
|
-
"en": "Partial or total discount.",
|
249
|
-
"es": "Rebaja o descuento parcial o total."
|
250
|
-
}
|
251
|
-
},
|
252
|
-
{
|
253
|
-
"code": "4",
|
254
|
-
"name": {
|
255
|
-
"en": "Adjustment",
|
256
|
-
"es": "Ajuste"
|
257
|
-
},
|
258
|
-
"desc": {
|
259
|
-
"en": "Price adjustment.",
|
260
|
-
"es": "Ajuste de precio."
|
261
|
-
}
|
262
|
-
},
|
263
|
-
{
|
264
|
-
"code": "5",
|
265
|
-
"name": {
|
266
|
-
"en": "Other",
|
267
|
-
"es": "Otros"
|
268
|
-
}
|
269
|
-
}
|
270
|
-
]
|
271
|
-
}
|
272
|
-
],
|
273
281
|
"corrections": [
|
274
282
|
{
|
275
283
|
"schema": "bill/invoice",
|
276
284
|
"types": [
|
277
|
-
"credit-note"
|
285
|
+
"credit-note",
|
286
|
+
"debit-note"
|
278
287
|
],
|
279
288
|
"extensions": [
|
280
|
-
"co-dian-
|
289
|
+
"co-dian-credit-code",
|
290
|
+
"co-dian-debit-code"
|
281
291
|
],
|
282
292
|
"reason_required": true,
|
283
293
|
"stamps": [
|
data/data/regimes/de.json
CHANGED
@@ -1,62 +1,76 @@
|
|
1
1
|
{
|
2
|
-
"$schema": "https://gobl.org/draft-0/tax/regime",
|
2
|
+
"$schema": "https://gobl.org/draft-0/tax/regime-def",
|
3
3
|
"name": {
|
4
|
-
"
|
5
|
-
"
|
4
|
+
"de": "Deutschland",
|
5
|
+
"en": "Germany"
|
6
6
|
},
|
7
7
|
"time_zone": "Europe/Berlin",
|
8
8
|
"country": "DE",
|
9
9
|
"currency": "EUR",
|
10
10
|
"tags": [
|
11
11
|
{
|
12
|
-
"
|
13
|
-
"
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
12
|
+
"schema": "bill/invoice",
|
13
|
+
"list": [
|
14
|
+
{
|
15
|
+
"key": "simplified",
|
16
|
+
"name": {
|
17
|
+
"de": "Vereinfachte Rechnung",
|
18
|
+
"en": "Simplified Invoice",
|
19
|
+
"es": "Factura Simplificada",
|
20
|
+
"it": "Fattura Semplificata"
|
21
|
+
},
|
22
|
+
"desc": {
|
23
|
+
"de": "Wird für B2C-Transaktionen verwendet, wenn die Kundendaten nicht verfügbar sind. Bitte wenden Sie sich an die örtlichen Behörden, um die Grenzwerte zu ermitteln.",
|
24
|
+
"en": "Used for B2C transactions when the client details are not available, check with local authorities for limits.",
|
25
|
+
"es": "Usado para transacciones B2C cuando los detalles del cliente no están disponibles, consulte con las autoridades locales para los límites.",
|
26
|
+
"it": "Utilizzato per le transazioni B2C quando i dettagli del cliente non sono disponibili, controllare con le autorità locali per i limiti."
|
27
|
+
}
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"key": "reverse-charge",
|
31
|
+
"name": {
|
32
|
+
"de": "Umkehr der Steuerschuld",
|
33
|
+
"en": "Reverse Charge",
|
34
|
+
"es": "Inversión del Sujeto Pasivo",
|
35
|
+
"it": "Inversione del soggetto passivo"
|
36
|
+
}
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"key": "self-billed",
|
40
|
+
"name": {
|
41
|
+
"de": "Rechnung durch den Leistungsempfänger",
|
42
|
+
"en": "Self-billed",
|
43
|
+
"es": "Facturación por el destinatario",
|
44
|
+
"it": "Autofattura"
|
45
|
+
}
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"key": "customer-rates",
|
49
|
+
"name": {
|
50
|
+
"de": "Kundensätze",
|
51
|
+
"en": "Customer rates",
|
52
|
+
"es": "Tarifas aplicables al destinatario",
|
53
|
+
"it": "Aliquote applicabili al destinatario"
|
54
|
+
}
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"key": "partial",
|
58
|
+
"name": {
|
59
|
+
"de": "Teilweise",
|
60
|
+
"en": "Partial",
|
61
|
+
"es": "Parcial",
|
62
|
+
"it": "Parziale"
|
63
|
+
}
|
64
|
+
}
|
65
|
+
]
|
66
|
+
}
|
67
|
+
],
|
68
|
+
"identity_keys": [
|
53
69
|
{
|
54
|
-
"key": "
|
70
|
+
"key": "de-tax-number",
|
55
71
|
"name": {
|
56
|
-
"de": "
|
57
|
-
"en": "
|
58
|
-
"es": "Parcial",
|
59
|
-
"it": "Parziale"
|
72
|
+
"de": "Steuernummer",
|
73
|
+
"en": "Tax Number"
|
60
74
|
}
|
61
75
|
}
|
62
76
|
],
|