gobl 0.17.0 → 0.19.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 +4 -1
- data/data/regimes/ca.json +77 -0
- data/data/regimes/co.json +2850 -2777
- data/data/regimes/de.json +182 -0
- data/data/regimes/es.json +1241 -1218
- data/data/regimes/fr.json +125 -10
- data/data/regimes/gb.json +71 -1
- data/data/regimes/it.json +1772 -1701
- data/data/regimes/mx.json +128 -10
- data/data/regimes/nl.json +71 -1
- data/data/regimes/pl.json +398 -0
- data/data/regimes/pt.json +245 -185
- data/data/regimes/us.json +55 -2
- data/lib/generated/gobl/bill/charge.rb +1 -1
- data/lib/generated/gobl/bill/correction_options.rb +11 -20
- data/lib/generated/gobl/bill/delivery.rb +6 -1
- data/lib/generated/gobl/bill/discount.rb +1 -1
- data/lib/generated/gobl/bill/document_reference.rb +1 -1
- data/lib/generated/gobl/bill/invoice.rb +1 -1
- data/lib/generated/gobl/bill/line.rb +1 -1
- data/lib/generated/gobl/bill/line_charge.rb +1 -1
- data/lib/generated/gobl/bill/line_discount.rb +1 -1
- data/lib/generated/gobl/bill/ordering.rb +6 -1
- data/lib/generated/gobl/bill/outlay.rb +4 -4
- data/lib/generated/gobl/bill/payment.rb +1 -1
- data/lib/generated/gobl/bill/preceding.rb +11 -11
- data/lib/generated/gobl/bill/tax.rb +1 -1
- data/lib/generated/gobl/bill/totals.rb +6 -1
- data/lib/generated/gobl/cal/date.rb +1 -1
- data/lib/generated/gobl/cal/date_time.rb +1 -1
- data/lib/generated/gobl/cal/period.rb +1 -1
- data/lib/generated/gobl/cbc/code.rb +1 -1
- data/lib/generated/gobl/cbc/code_map.rb +1 -1
- data/lib/generated/gobl/cbc/key.rb +1 -1
- data/lib/generated/gobl/cbc/meta.rb +1 -1
- data/lib/generated/gobl/cbc/note.rb +1 -1
- data/lib/generated/gobl/currency/code.rb +1 -1
- data/lib/generated/gobl/currency/exchange_rate.rb +1 -1
- data/lib/generated/gobl/dsig/digest.rb +1 -1
- data/lib/generated/gobl/dsig/signature.rb +1 -1
- data/lib/generated/gobl/envelope.rb +1 -1
- data/lib/generated/gobl/head/header.rb +1 -1
- data/lib/generated/gobl/head/stamp.rb +1 -1
- data/lib/generated/gobl/i18n/string.rb +1 -1
- data/lib/generated/gobl/l10n/code.rb +1 -1
- data/lib/generated/gobl/l10n/country_code.rb +1 -1
- data/lib/generated/gobl/note/message.rb +1 -1
- data/lib/generated/gobl/org/address.rb +1 -1
- data/lib/generated/gobl/org/coordinates.rb +1 -1
- data/lib/generated/gobl/org/email.rb +1 -1
- data/lib/generated/gobl/org/identity.rb +6 -1
- data/lib/generated/gobl/org/image.rb +6 -1
- data/lib/generated/gobl/org/inbox.rb +1 -1
- data/lib/generated/gobl/org/item.rb +6 -6
- data/lib/generated/gobl/org/name.rb +1 -1
- data/lib/generated/gobl/org/party.rb +3 -3
- data/lib/generated/gobl/org/person.rb +1 -1
- data/lib/generated/gobl/org/registration.rb +1 -1
- data/lib/generated/gobl/org/telephone.rb +1 -1
- data/lib/generated/gobl/org/unit.rb +26 -10
- data/lib/generated/gobl/org/website.rb +1 -1
- data/lib/generated/gobl/pay/advance.rb +19 -4
- data/lib/generated/gobl/pay/card.rb +1 -1
- data/lib/generated/gobl/pay/credit_transfer.rb +1 -1
- data/lib/generated/gobl/pay/direct_debit.rb +1 -1
- data/lib/generated/gobl/pay/due_date.rb +1 -1
- data/lib/generated/gobl/pay/instructions.rb +1 -1
- data/lib/generated/gobl/pay/online.rb +1 -1
- data/lib/generated/gobl/pay/terms.rb +1 -1
- data/lib/generated/gobl/regimes/mx/food_vouchers.rb +41 -0
- data/lib/generated/gobl/regimes/mx/food_vouchers_employee.rb +42 -0
- data/lib/generated/gobl/regimes/mx/food_vouchers_line.rb +42 -0
- data/lib/generated/gobl/regimes/mx/fuel_account_balance.rb +41 -0
- data/lib/generated/gobl/regimes/mx/fuel_account_item.rb +42 -0
- data/lib/generated/gobl/regimes/mx/fuel_account_line.rb +73 -0
- data/lib/generated/gobl/regimes/mx/fuel_account_tax.rb +37 -0
- data/lib/generated/gobl/schema/object.rb +1 -1
- data/lib/generated/gobl/tax/category.rb +11 -3
- data/lib/generated/gobl/tax/category_total.rb +1 -1
- data/lib/generated/gobl/tax/code_definition.rb +1 -1
- data/lib/generated/gobl/tax/combo.rb +3 -3
- data/lib/generated/gobl/tax/correction_definition.rb +43 -0
- data/lib/generated/gobl/tax/ext_map.rb +15 -0
- data/lib/generated/gobl/tax/identity.rb +1 -1
- data/lib/generated/gobl/tax/key_definition.rb +8 -2
- data/lib/generated/gobl/tax/rate.rb +1 -1
- data/lib/generated/gobl/tax/rate_total.rb +3 -3
- data/lib/generated/gobl/tax/rate_total_surcharge.rb +1 -1
- data/lib/generated/gobl/tax/rate_value.rb +1 -1
- data/lib/generated/gobl/tax/regime.rb +18 -14
- data/lib/generated/gobl/tax/scenario.rb +1 -1
- data/lib/generated/gobl/tax/scenario_set.rb +1 -1
- data/lib/generated/gobl/tax/set.rb +1 -1
- data/lib/generated/gobl/tax/source.rb +1 -1
- data/lib/generated/gobl/tax/total.rb +1 -1
- data/lib/generated/gobl/tax/zone.rb +1 -1
- data/lib/generated/gobl/uuid/uuid.rb +1 -1
- data/lib/gobl/version.rb +1 -1
- metadata +15 -4
- data/lib/generated/gobl/tax/preceding_definitions.rb +0 -37
data/data/regimes/pt.json
CHANGED
@@ -6,210 +6,72 @@
|
|
6
6
|
},
|
7
7
|
"time_zone": "Europe/Lisbon",
|
8
8
|
"country": "PT",
|
9
|
-
"
|
10
|
-
|
11
|
-
"code": "01",
|
12
|
-
"region": {
|
13
|
-
"pt": "Aveiro"
|
14
|
-
},
|
15
|
-
"codes": {
|
16
|
-
"at-tax-country-region": "PT"
|
17
|
-
}
|
18
|
-
},
|
19
|
-
{
|
20
|
-
"code": "02",
|
21
|
-
"region": {
|
22
|
-
"pt": "Beja"
|
23
|
-
},
|
24
|
-
"codes": {
|
25
|
-
"at-tax-country-region": "PT"
|
26
|
-
}
|
27
|
-
},
|
28
|
-
{
|
29
|
-
"code": "03",
|
30
|
-
"region": {
|
31
|
-
"pt": "Braga"
|
32
|
-
},
|
33
|
-
"codes": {
|
34
|
-
"at-tax-country-region": "PT"
|
35
|
-
}
|
36
|
-
},
|
37
|
-
{
|
38
|
-
"code": "04",
|
39
|
-
"region": {
|
40
|
-
"pt": "Bragança"
|
41
|
-
},
|
42
|
-
"codes": {
|
43
|
-
"at-tax-country-region": "PT"
|
44
|
-
}
|
45
|
-
},
|
46
|
-
{
|
47
|
-
"code": "05",
|
48
|
-
"region": {
|
49
|
-
"pt": "Castelo Branco"
|
50
|
-
},
|
51
|
-
"codes": {
|
52
|
-
"at-tax-country-region": "PT"
|
53
|
-
}
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"code": "06",
|
57
|
-
"region": {
|
58
|
-
"pt": "Coimbra"
|
59
|
-
},
|
60
|
-
"codes": {
|
61
|
-
"at-tax-country-region": "PT"
|
62
|
-
}
|
63
|
-
},
|
64
|
-
{
|
65
|
-
"code": "07",
|
66
|
-
"region": {
|
67
|
-
"pt": "Évora"
|
68
|
-
},
|
69
|
-
"codes": {
|
70
|
-
"at-tax-country-region": "PT"
|
71
|
-
}
|
72
|
-
},
|
73
|
-
{
|
74
|
-
"code": "08",
|
75
|
-
"region": {
|
76
|
-
"pt": "Faro"
|
77
|
-
},
|
78
|
-
"codes": {
|
79
|
-
"at-tax-country-region": "PT"
|
80
|
-
}
|
81
|
-
},
|
82
|
-
{
|
83
|
-
"code": "09",
|
84
|
-
"region": {
|
85
|
-
"pt": "Guarda"
|
86
|
-
},
|
87
|
-
"codes": {
|
88
|
-
"at-tax-country-region": "PT"
|
89
|
-
}
|
90
|
-
},
|
91
|
-
{
|
92
|
-
"code": "10",
|
93
|
-
"region": {
|
94
|
-
"pt": "Leiria"
|
95
|
-
},
|
96
|
-
"codes": {
|
97
|
-
"at-tax-country-region": "PT"
|
98
|
-
}
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"code": "11",
|
102
|
-
"region": {
|
103
|
-
"pt": "Lisboa"
|
104
|
-
},
|
105
|
-
"codes": {
|
106
|
-
"at-tax-country-region": "PT"
|
107
|
-
}
|
108
|
-
},
|
109
|
-
{
|
110
|
-
"code": "12",
|
111
|
-
"region": {
|
112
|
-
"pt": "Portalegre"
|
113
|
-
},
|
114
|
-
"codes": {
|
115
|
-
"at-tax-country-region": "PT"
|
116
|
-
}
|
117
|
-
},
|
118
|
-
{
|
119
|
-
"code": "13",
|
120
|
-
"region": {
|
121
|
-
"pt": "Porto"
|
122
|
-
},
|
123
|
-
"codes": {
|
124
|
-
"at-tax-country-region": "PT"
|
125
|
-
}
|
126
|
-
},
|
127
|
-
{
|
128
|
-
"code": "14",
|
129
|
-
"region": {
|
130
|
-
"pt": "Santarém"
|
131
|
-
},
|
132
|
-
"codes": {
|
133
|
-
"at-tax-country-region": "PT"
|
134
|
-
}
|
135
|
-
},
|
9
|
+
"currency": "EUR",
|
10
|
+
"tags": [
|
136
11
|
{
|
137
|
-
"
|
138
|
-
"
|
139
|
-
"
|
12
|
+
"key": "simplified",
|
13
|
+
"name": {
|
14
|
+
"de": "Vereinfachte Rechnung",
|
15
|
+
"en": "Simplified Invoice",
|
16
|
+
"es": "Factura Simplificada",
|
17
|
+
"it": "Fattura Semplificata"
|
140
18
|
},
|
141
|
-
"
|
142
|
-
"
|
19
|
+
"desc": {
|
20
|
+
"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.",
|
21
|
+
"en": "Used for B2C transactions when the client details are not available, check with local authorities for limits.",
|
22
|
+
"es": "Usado para transacciones B2C cuando los detalles del cliente no están disponibles, consulte con las autoridades locales para los límites.",
|
23
|
+
"it": "Utilizzato per le transazioni B2C quando i dettagli del cliente non sono disponibili, controllare con le autorità locali per i limiti."
|
143
24
|
}
|
144
25
|
},
|
145
26
|
{
|
146
|
-
"
|
147
|
-
"
|
148
|
-
"
|
149
|
-
|
150
|
-
|
151
|
-
"
|
27
|
+
"key": "reverse-charge",
|
28
|
+
"name": {
|
29
|
+
"de": "Umkehr der Steuerschuld",
|
30
|
+
"en": "Reverse Charge",
|
31
|
+
"es": "Inversión del Sujeto Pasivo",
|
32
|
+
"it": "Inversione del soggetto passivo"
|
152
33
|
}
|
153
34
|
},
|
154
35
|
{
|
155
|
-
"
|
156
|
-
"
|
157
|
-
"
|
158
|
-
|
159
|
-
|
160
|
-
"
|
36
|
+
"key": "self-billed",
|
37
|
+
"name": {
|
38
|
+
"de": "Rechnung durch den Leistungsempfänger",
|
39
|
+
"en": "Self-billed",
|
40
|
+
"es": "Facturación por el destinatario",
|
41
|
+
"it": "Autofattura"
|
161
42
|
}
|
162
43
|
},
|
163
44
|
{
|
164
|
-
"
|
165
|
-
"
|
166
|
-
"
|
167
|
-
|
168
|
-
|
169
|
-
"
|
45
|
+
"key": "customer-rates",
|
46
|
+
"name": {
|
47
|
+
"de": "Kundensätze",
|
48
|
+
"en": "Customer rates",
|
49
|
+
"es": "Tarifas aplicables al destinatario",
|
50
|
+
"it": "Aliquote applicabili al destinatario"
|
170
51
|
}
|
171
52
|
},
|
172
53
|
{
|
173
|
-
"
|
174
|
-
"
|
175
|
-
"
|
176
|
-
|
177
|
-
|
178
|
-
"
|
54
|
+
"key": "partial",
|
55
|
+
"name": {
|
56
|
+
"de": "Teilweise",
|
57
|
+
"en": "Partial",
|
58
|
+
"es": "Parcial",
|
59
|
+
"it": "Parziale"
|
179
60
|
}
|
180
61
|
},
|
181
|
-
{
|
182
|
-
"code": "30",
|
183
|
-
"region": {
|
184
|
-
"pt": "Região Autónoma da Madeira"
|
185
|
-
},
|
186
|
-
"codes": {
|
187
|
-
"at-tax-country-region": "PT-MA"
|
188
|
-
}
|
189
|
-
}
|
190
|
-
],
|
191
|
-
"currency": "EUR",
|
192
|
-
"tags": [
|
193
62
|
{
|
194
63
|
"key": "invoice-receipt",
|
195
64
|
"name": {
|
196
65
|
"en": "Invoice-receipt",
|
197
66
|
"pt": "Fatura-recibo"
|
198
67
|
}
|
199
|
-
},
|
200
|
-
{
|
201
|
-
"key": "simplified",
|
202
|
-
"name": {
|
203
|
-
"en": "Simplified invoice",
|
204
|
-
"pt": "Fatura simplificada"
|
205
|
-
}
|
206
68
|
}
|
207
69
|
],
|
208
70
|
"extensions": [
|
209
71
|
{
|
210
|
-
"key": "pt-exemption-
|
72
|
+
"key": "pt-exemption-code",
|
211
73
|
"name": {
|
212
|
-
"en": "Tax exemption reason",
|
74
|
+
"en": "Tax exemption reason code",
|
213
75
|
"pt": "Código do motivo de isenção de imposto"
|
214
76
|
},
|
215
77
|
"codes": [
|
@@ -454,15 +316,28 @@
|
|
454
316
|
"codes": {
|
455
317
|
"at-invoice-type": "NC"
|
456
318
|
}
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"tags": [
|
322
|
+
"reverse-charge"
|
323
|
+
],
|
324
|
+
"note": {
|
325
|
+
"key": "legal",
|
326
|
+
"src": "reverse-charge",
|
327
|
+
"text": "Reverse charge / Autoliquidação - Artigo 2.º n.º 1 alínea j) do Código do IVA"
|
328
|
+
}
|
457
329
|
}
|
458
330
|
]
|
459
331
|
}
|
460
332
|
],
|
461
|
-
"
|
462
|
-
|
463
|
-
"
|
464
|
-
|
465
|
-
|
333
|
+
"corrections": [
|
334
|
+
{
|
335
|
+
"schema": "bill/invoice",
|
336
|
+
"types": [
|
337
|
+
"credit-note"
|
338
|
+
]
|
339
|
+
}
|
340
|
+
],
|
466
341
|
"categories": [
|
467
342
|
{
|
468
343
|
"code": "VAT",
|
@@ -470,7 +345,7 @@
|
|
470
345
|
"en": "VAT",
|
471
346
|
"pt": "IVA"
|
472
347
|
},
|
473
|
-
"
|
348
|
+
"title": {
|
474
349
|
"en": "Value Added Tax",
|
475
350
|
"pt": "Imposto sobre o Valor Acrescentado"
|
476
351
|
},
|
@@ -568,10 +443,13 @@
|
|
568
443
|
},
|
569
444
|
{
|
570
445
|
"key": "exempt",
|
571
|
-
"name":
|
446
|
+
"name": {
|
447
|
+
"en": "Exempt",
|
448
|
+
"pt": "Isento"
|
449
|
+
},
|
572
450
|
"exempt": true,
|
573
451
|
"extensions": [
|
574
|
-
"pt-exemption-
|
452
|
+
"pt-exemption-code"
|
575
453
|
],
|
576
454
|
"map": {
|
577
455
|
"at-tax-code": "ISE"
|
@@ -579,5 +457,187 @@
|
|
579
457
|
}
|
580
458
|
]
|
581
459
|
}
|
460
|
+
],
|
461
|
+
"zones": [
|
462
|
+
{
|
463
|
+
"code": "01",
|
464
|
+
"region": {
|
465
|
+
"pt": "Aveiro"
|
466
|
+
},
|
467
|
+
"codes": {
|
468
|
+
"at-tax-country-region": "PT"
|
469
|
+
}
|
470
|
+
},
|
471
|
+
{
|
472
|
+
"code": "02",
|
473
|
+
"region": {
|
474
|
+
"pt": "Beja"
|
475
|
+
},
|
476
|
+
"codes": {
|
477
|
+
"at-tax-country-region": "PT"
|
478
|
+
}
|
479
|
+
},
|
480
|
+
{
|
481
|
+
"code": "03",
|
482
|
+
"region": {
|
483
|
+
"pt": "Braga"
|
484
|
+
},
|
485
|
+
"codes": {
|
486
|
+
"at-tax-country-region": "PT"
|
487
|
+
}
|
488
|
+
},
|
489
|
+
{
|
490
|
+
"code": "04",
|
491
|
+
"region": {
|
492
|
+
"pt": "Bragança"
|
493
|
+
},
|
494
|
+
"codes": {
|
495
|
+
"at-tax-country-region": "PT"
|
496
|
+
}
|
497
|
+
},
|
498
|
+
{
|
499
|
+
"code": "05",
|
500
|
+
"region": {
|
501
|
+
"pt": "Castelo Branco"
|
502
|
+
},
|
503
|
+
"codes": {
|
504
|
+
"at-tax-country-region": "PT"
|
505
|
+
}
|
506
|
+
},
|
507
|
+
{
|
508
|
+
"code": "06",
|
509
|
+
"region": {
|
510
|
+
"pt": "Coimbra"
|
511
|
+
},
|
512
|
+
"codes": {
|
513
|
+
"at-tax-country-region": "PT"
|
514
|
+
}
|
515
|
+
},
|
516
|
+
{
|
517
|
+
"code": "07",
|
518
|
+
"region": {
|
519
|
+
"pt": "Évora"
|
520
|
+
},
|
521
|
+
"codes": {
|
522
|
+
"at-tax-country-region": "PT"
|
523
|
+
}
|
524
|
+
},
|
525
|
+
{
|
526
|
+
"code": "08",
|
527
|
+
"region": {
|
528
|
+
"pt": "Faro"
|
529
|
+
},
|
530
|
+
"codes": {
|
531
|
+
"at-tax-country-region": "PT"
|
532
|
+
}
|
533
|
+
},
|
534
|
+
{
|
535
|
+
"code": "09",
|
536
|
+
"region": {
|
537
|
+
"pt": "Guarda"
|
538
|
+
},
|
539
|
+
"codes": {
|
540
|
+
"at-tax-country-region": "PT"
|
541
|
+
}
|
542
|
+
},
|
543
|
+
{
|
544
|
+
"code": "10",
|
545
|
+
"region": {
|
546
|
+
"pt": "Leiria"
|
547
|
+
},
|
548
|
+
"codes": {
|
549
|
+
"at-tax-country-region": "PT"
|
550
|
+
}
|
551
|
+
},
|
552
|
+
{
|
553
|
+
"code": "11",
|
554
|
+
"region": {
|
555
|
+
"pt": "Lisboa"
|
556
|
+
},
|
557
|
+
"codes": {
|
558
|
+
"at-tax-country-region": "PT"
|
559
|
+
}
|
560
|
+
},
|
561
|
+
{
|
562
|
+
"code": "12",
|
563
|
+
"region": {
|
564
|
+
"pt": "Portalegre"
|
565
|
+
},
|
566
|
+
"codes": {
|
567
|
+
"at-tax-country-region": "PT"
|
568
|
+
}
|
569
|
+
},
|
570
|
+
{
|
571
|
+
"code": "13",
|
572
|
+
"region": {
|
573
|
+
"pt": "Porto"
|
574
|
+
},
|
575
|
+
"codes": {
|
576
|
+
"at-tax-country-region": "PT"
|
577
|
+
}
|
578
|
+
},
|
579
|
+
{
|
580
|
+
"code": "14",
|
581
|
+
"region": {
|
582
|
+
"pt": "Santarém"
|
583
|
+
},
|
584
|
+
"codes": {
|
585
|
+
"at-tax-country-region": "PT"
|
586
|
+
}
|
587
|
+
},
|
588
|
+
{
|
589
|
+
"code": "15",
|
590
|
+
"region": {
|
591
|
+
"pt": "Setúbal"
|
592
|
+
},
|
593
|
+
"codes": {
|
594
|
+
"at-tax-country-region": "PT"
|
595
|
+
}
|
596
|
+
},
|
597
|
+
{
|
598
|
+
"code": "16",
|
599
|
+
"region": {
|
600
|
+
"pt": "Viana do Castelo"
|
601
|
+
},
|
602
|
+
"codes": {
|
603
|
+
"at-tax-country-region": "PT"
|
604
|
+
}
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"code": "17",
|
608
|
+
"region": {
|
609
|
+
"pt": "Vila Real"
|
610
|
+
},
|
611
|
+
"codes": {
|
612
|
+
"at-tax-country-region": "PT"
|
613
|
+
}
|
614
|
+
},
|
615
|
+
{
|
616
|
+
"code": "18",
|
617
|
+
"region": {
|
618
|
+
"pt": "Viseu"
|
619
|
+
},
|
620
|
+
"codes": {
|
621
|
+
"at-tax-country-region": "PT"
|
622
|
+
}
|
623
|
+
},
|
624
|
+
{
|
625
|
+
"code": "20",
|
626
|
+
"region": {
|
627
|
+
"pt": "Região Autónoma dos Açores"
|
628
|
+
},
|
629
|
+
"codes": {
|
630
|
+
"at-tax-country-region": "PT-AC"
|
631
|
+
}
|
632
|
+
},
|
633
|
+
{
|
634
|
+
"code": "30",
|
635
|
+
"region": {
|
636
|
+
"pt": "Região Autónoma da Madeira"
|
637
|
+
},
|
638
|
+
"codes": {
|
639
|
+
"at-tax-country-region": "PT-MA"
|
640
|
+
}
|
641
|
+
}
|
582
642
|
]
|
583
643
|
}
|
data/data/regimes/us.json
CHANGED
@@ -6,13 +6,66 @@
|
|
6
6
|
"time_zone": "America/Chicago",
|
7
7
|
"country": "US",
|
8
8
|
"currency": "USD",
|
9
|
+
"tags": [
|
10
|
+
{
|
11
|
+
"key": "simplified",
|
12
|
+
"name": {
|
13
|
+
"de": "Vereinfachte Rechnung",
|
14
|
+
"en": "Simplified Invoice",
|
15
|
+
"es": "Factura Simplificada",
|
16
|
+
"it": "Fattura Semplificata"
|
17
|
+
},
|
18
|
+
"desc": {
|
19
|
+
"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.",
|
20
|
+
"en": "Used for B2C transactions when the client details are not available, check with local authorities for limits.",
|
21
|
+
"es": "Usado para transacciones B2C cuando los detalles del cliente no están disponibles, consulte con las autoridades locales para los límites.",
|
22
|
+
"it": "Utilizzato per le transazioni B2C quando i dettagli del cliente non sono disponibili, controllare con le autorità locali per i limiti."
|
23
|
+
}
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"key": "reverse-charge",
|
27
|
+
"name": {
|
28
|
+
"de": "Umkehr der Steuerschuld",
|
29
|
+
"en": "Reverse Charge",
|
30
|
+
"es": "Inversión del Sujeto Pasivo",
|
31
|
+
"it": "Inversione del soggetto passivo"
|
32
|
+
}
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"key": "self-billed",
|
36
|
+
"name": {
|
37
|
+
"de": "Rechnung durch den Leistungsempfänger",
|
38
|
+
"en": "Self-billed",
|
39
|
+
"es": "Facturación por el destinatario",
|
40
|
+
"it": "Autofattura"
|
41
|
+
}
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"key": "customer-rates",
|
45
|
+
"name": {
|
46
|
+
"de": "Kundensätze",
|
47
|
+
"en": "Customer rates",
|
48
|
+
"es": "Tarifas aplicables al destinatario",
|
49
|
+
"it": "Aliquote applicabili al destinatario"
|
50
|
+
}
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"key": "partial",
|
54
|
+
"name": {
|
55
|
+
"de": "Teilweise",
|
56
|
+
"en": "Partial",
|
57
|
+
"es": "Parcial",
|
58
|
+
"it": "Parziale"
|
59
|
+
}
|
60
|
+
}
|
61
|
+
],
|
9
62
|
"categories": [
|
10
63
|
{
|
11
64
|
"code": "ST",
|
12
65
|
"name": {
|
13
|
-
"en": "
|
66
|
+
"en": "ST"
|
14
67
|
},
|
15
|
-
"
|
68
|
+
"title": {
|
16
69
|
"en": "Sales Tax"
|
17
70
|
}
|
18
71
|
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
##
|
4
4
|
## DO NOT EDIT - This file was generated automatically.
|
5
5
|
##
|
6
|
-
## Generated with GOBL v0.
|
6
|
+
## Generated with GOBL v0.67.0
|
7
7
|
##
|
8
8
|
|
9
9
|
module GOBL
|
@@ -13,6 +13,12 @@ module GOBL
|
|
13
13
|
# The Schema ID of the GOBL CorrectionOptions structure
|
14
14
|
SCHEMA_ID = 'https://gobl.org/draft-0/bill/correction-options'
|
15
15
|
|
16
|
+
# @!attribute [r] type
|
17
|
+
# The type of corrective invoice to produce.
|
18
|
+
# @return [GOBL::CBC::Key]
|
19
|
+
property :type, GOBL::CBC::Key
|
20
|
+
validates_presence_of :type
|
21
|
+
|
16
22
|
# @!attribute [r] issue_date
|
17
23
|
# When the new corrective invoice's issue date should be set to.
|
18
24
|
# @return [GOBL::Cal::Date]
|
@@ -23,30 +29,15 @@ module GOBL
|
|
23
29
|
# @return [Array<GOBL::Head::Stamp>]
|
24
30
|
property :stamps, [GOBL::Head::Stamp]
|
25
31
|
|
26
|
-
# @!attribute [r] credit
|
27
|
-
# Credit when true indicates that the corrective document should cancel the previous document.
|
28
|
-
# @return [Boolean]
|
29
|
-
property :credit, Boolean
|
30
|
-
|
31
|
-
# @!attribute [r] debit
|
32
|
-
# Debit when true indicates that the corrective document should add new items to the previous document.
|
33
|
-
# @return [Boolean]
|
34
|
-
property :debit, Boolean
|
35
|
-
|
36
32
|
# @!attribute [r] reason
|
37
33
|
# Human readable reason for the corrective operation.
|
38
34
|
# @return [String]
|
39
35
|
property :reason, String
|
40
36
|
|
41
|
-
# @!attribute [r]
|
42
|
-
#
|
43
|
-
# @return [GOBL::
|
44
|
-
property :
|
45
|
-
|
46
|
-
# @!attribute [r] corrections
|
47
|
-
# Correction keys that describe the specific changes according to the tax regime.
|
48
|
-
# @return [Array<GOBL::CBC::Key>]
|
49
|
-
property :corrections, [GOBL::CBC::Key]
|
37
|
+
# @!attribute [r] ext
|
38
|
+
# Extensions for region specific requirements.
|
39
|
+
# @return [GOBL::Tax::ExtMap]
|
40
|
+
property :ext, GOBL::Tax::ExtMap
|
50
41
|
end
|
51
42
|
end
|
52
43
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
##
|
4
4
|
## DO NOT EDIT - This file was generated automatically.
|
5
5
|
##
|
6
|
-
## Generated with GOBL v0.
|
6
|
+
## Generated with GOBL v0.67.0
|
7
7
|
##
|
8
8
|
|
9
9
|
module GOBL
|
@@ -18,6 +18,11 @@ module GOBL
|
|
18
18
|
# @return [GOBL::Org::Party]
|
19
19
|
property :receiver, GOBL::Org::Party
|
20
20
|
|
21
|
+
# @!attribute [r] identities
|
22
|
+
# Identities is used to define specific codes or IDs that may be used to identify the delivery.
|
23
|
+
# @return [Array<GOBL::Org::Identity>]
|
24
|
+
property :identities, [GOBL::Org::Identity]
|
25
|
+
|
21
26
|
# @!attribute [r] date
|
22
27
|
# When the goods should be expected.
|
23
28
|
# @return [GOBL::Cal::Date]
|