gobl 0.20.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/data/regimes/at.json +160 -0
  4. data/data/regimes/be.json +169 -0
  5. data/data/regimes/ca.json +10 -1
  6. data/data/regimes/ch.json +158 -0
  7. data/data/regimes/co.json +179 -169
  8. data/data/regimes/de.json +63 -49
  9. data/data/regimes/el.json +204 -0
  10. data/data/regimes/es.json +84 -557
  11. data/data/regimes/fr.json +57 -52
  12. data/data/regimes/gb.json +67 -50
  13. data/data/regimes/gr.json +591 -0
  14. data/data/regimes/it.json +62 -1298
  15. data/data/regimes/mx.json +38 -627
  16. data/data/regimes/nl.json +63 -50
  17. data/data/regimes/pl.json +161 -101
  18. data/data/regimes/pt.json +44 -365
  19. data/data/regimes/us.json +63 -49
  20. data/lib/generated/gobl/bill/charge.rb +6 -7
  21. data/lib/generated/gobl/bill/correction_options.rb +5 -1
  22. data/lib/generated/gobl/bill/delivery.rb +0 -1
  23. data/lib/generated/gobl/bill/discount.rb +5 -6
  24. data/lib/generated/gobl/bill/invoice.rb +51 -12
  25. data/lib/generated/gobl/bill/line.rb +3 -4
  26. data/lib/generated/gobl/bill/line_charge.rb +0 -1
  27. data/lib/generated/gobl/bill/line_discount.rb +0 -1
  28. data/lib/generated/gobl/bill/ordering.rb +34 -35
  29. data/lib/generated/gobl/bill/outlay.rb +3 -4
  30. data/lib/generated/gobl/bill/payment.rb +0 -1
  31. data/lib/generated/gobl/bill/tax.rb +4 -5
  32. data/lib/generated/gobl/bill/totals.rb +0 -1
  33. data/lib/generated/gobl/cal/date.rb +0 -1
  34. data/lib/generated/gobl/cal/date_time.rb +0 -1
  35. data/lib/generated/gobl/cal/period.rb +0 -1
  36. data/lib/generated/gobl/cbc/code.rb +0 -1
  37. data/lib/generated/gobl/cbc/code_map.rb +0 -1
  38. data/lib/generated/gobl/cbc/key.rb +0 -1
  39. data/lib/generated/gobl/cbc/key_definition.rb +4 -10
  40. data/lib/generated/gobl/cbc/meta.rb +0 -1
  41. data/lib/generated/gobl/cbc/note.rb +0 -1
  42. data/lib/generated/gobl/cbc/value_definition.rb +37 -0
  43. data/lib/generated/gobl/currency/amount.rb +33 -0
  44. data/lib/generated/gobl/currency/code.rb +118 -105
  45. data/lib/generated/gobl/currency/exchange_rate.rb +17 -7
  46. data/lib/generated/gobl/dsig/digest.rb +0 -1
  47. data/lib/generated/gobl/dsig/signature.rb +0 -1
  48. data/lib/generated/gobl/envelope.rb +0 -1
  49. data/lib/generated/gobl/head/header.rb +7 -8
  50. data/lib/generated/gobl/head/link.rb +43 -0
  51. data/lib/generated/gobl/head/stamp.rb +0 -1
  52. data/lib/generated/gobl/i18n/string.rb +0 -1
  53. data/lib/generated/gobl/l10n/code.rb +0 -1
  54. data/lib/generated/gobl/l10n/{country_code.rb → iso_country_code.rb} +3 -4
  55. data/lib/generated/gobl/l10n/tax_country_code.rb +277 -0
  56. data/lib/generated/gobl/note/message.rb +5 -1
  57. data/lib/generated/gobl/org/address.rb +5 -7
  58. data/lib/generated/gobl/org/coordinates.rb +0 -1
  59. data/lib/generated/gobl/org/document_ref.rb +87 -0
  60. data/lib/generated/gobl/org/email.rb +3 -4
  61. data/lib/generated/gobl/org/identity.rb +8 -4
  62. data/lib/generated/gobl/org/image.rb +3 -4
  63. data/lib/generated/gobl/org/inbox.rb +3 -4
  64. data/lib/generated/gobl/org/item.rb +10 -6
  65. data/lib/generated/gobl/org/name.rb +3 -6
  66. data/lib/generated/gobl/org/party.rb +8 -5
  67. data/lib/generated/gobl/org/person.rb +8 -4
  68. data/lib/generated/gobl/org/registration.rb +11 -3
  69. data/lib/generated/gobl/org/telephone.rb +3 -4
  70. data/lib/generated/gobl/org/unit.rb +0 -1
  71. data/lib/generated/gobl/org/website.rb +4 -5
  72. data/lib/generated/gobl/pay/advance.rb +8 -4
  73. data/lib/generated/gobl/pay/card.rb +0 -1
  74. data/lib/generated/gobl/pay/credit_transfer.rb +0 -1
  75. data/lib/generated/gobl/pay/direct_debit.rb +0 -1
  76. data/lib/generated/gobl/pay/due_date.rb +0 -1
  77. data/lib/generated/gobl/pay/instructions.rb +5 -1
  78. data/lib/generated/gobl/pay/online.rb +12 -8
  79. data/lib/generated/gobl/pay/terms.rb +0 -1
  80. data/lib/generated/gobl/regimes/mx/food_vouchers.rb +0 -1
  81. data/lib/generated/gobl/regimes/mx/food_vouchers_employee.rb +0 -1
  82. data/lib/generated/gobl/regimes/mx/food_vouchers_line.rb +0 -1
  83. data/lib/generated/gobl/regimes/mx/fuel_account_balance.rb +0 -1
  84. data/lib/generated/gobl/regimes/mx/fuel_account_item.rb +0 -1
  85. data/lib/generated/gobl/regimes/mx/fuel_account_line.rb +0 -2
  86. data/lib/generated/gobl/regimes/mx/fuel_account_tax.rb +11 -9
  87. data/lib/generated/gobl/schema/object.rb +0 -1
  88. data/lib/generated/gobl/tax/addon_def.rb +61 -0
  89. data/lib/generated/gobl/tax/{category.rb → category_def.rb} +11 -12
  90. data/lib/generated/gobl/tax/category_total.rb +0 -1
  91. data/lib/generated/gobl/tax/combo.rb +6 -2
  92. data/lib/generated/gobl/tax/correction_definition.rb +1 -2
  93. data/lib/generated/gobl/tax/correction_set.rb +13 -0
  94. data/lib/generated/gobl/tax/extensions.rb +0 -1
  95. data/lib/generated/gobl/tax/identity.rb +13 -19
  96. data/lib/generated/gobl/tax/{rate.rb → rate_def.rb} +11 -17
  97. data/lib/generated/gobl/tax/rate_total.rb +6 -2
  98. data/lib/generated/gobl/tax/rate_total_surcharge.rb +0 -1
  99. data/lib/generated/gobl/tax/{rate_value.rb → rate_value_def.rb} +9 -5
  100. data/lib/generated/gobl/tax/{regime.rb → regime_def.rb} +38 -24
  101. data/lib/generated/gobl/tax/scenario.rb +20 -11
  102. data/lib/generated/gobl/tax/scenario_set.rb +1 -2
  103. data/lib/generated/gobl/tax/set.rb +0 -1
  104. data/lib/generated/gobl/tax/source.rb +1 -2
  105. data/lib/generated/gobl/tax/tag_set.rb +28 -0
  106. data/lib/generated/gobl/tax/total.rb +0 -1
  107. data/lib/gobl/extensions/bill/invoice_helper.rb +6 -36
  108. data/lib/gobl/extensions/envelope_helper.rb +4 -0
  109. data/lib/gobl/version.rb +1 -1
  110. data/lib/gobl.rb +3 -2
  111. metadata +20 -12
  112. data/lib/generated/gobl/bill/document_reference.rb +0 -37
  113. data/lib/generated/gobl/bill/preceding.rb +0 -79
  114. data/lib/generated/gobl/cbc/code_definition.rb +0 -38
  115. data/lib/generated/gobl/uuid/uuid.rb +0 -17
  116. data/lib/gobl/extensions/bill/scenario_summary.rb +0 -25
data/data/regimes/nl.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": "The Netherlands",
5
5
  "nl": "Nederland"
@@ -9,55 +9,60 @@
9
9
  "currency": "EUR",
10
10
  "tags": [
11
11
  {
12
- "key": "simplified",
13
- "name": {
14
- "de": "Vereinfachte Rechnung",
15
- "en": "Simplified Invoice",
16
- "es": "Factura Simplificada",
17
- "it": "Fattura Semplificata"
18
- },
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."
24
- }
25
- },
26
- {
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"
33
- }
34
- },
35
- {
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"
42
- }
43
- },
44
- {
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"
51
- }
52
- },
53
- {
54
- "key": "partial",
55
- "name": {
56
- "de": "Teilweise",
57
- "en": "Partial",
58
- "es": "Parcial",
59
- "it": "Parziale"
60
- }
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
+ ]
61
66
  }
62
67
  ],
63
68
  "scenarios": [
@@ -77,6 +82,14 @@
77
82
  ]
78
83
  }
79
84
  ],
85
+ "corrections": [
86
+ {
87
+ "schema": "bill/invoice",
88
+ "types": [
89
+ "credit-note"
90
+ ]
91
+ }
92
+ ],
80
93
  "categories": [
81
94
  {
82
95
  "code": "VAT",
data/data/regimes/pl.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": "Poland",
5
5
  "pl": "Polska"
@@ -9,62 +9,67 @@
9
9
  "currency": "PLN",
10
10
  "tags": [
11
11
  {
12
- "key": "simplified",
13
- "name": {
14
- "de": "Vereinfachte Rechnung",
15
- "en": "Simplified Invoice",
16
- "es": "Factura Simplificada",
17
- "it": "Fattura Semplificata"
18
- },
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."
24
- }
25
- },
26
- {
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"
33
- }
34
- },
35
- {
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"
42
- }
43
- },
44
- {
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"
51
- }
52
- },
53
- {
54
- "key": "partial",
55
- "name": {
56
- "de": "Teilweise",
57
- "en": "Partial",
58
- "es": "Parcial",
59
- "it": "Parziale"
60
- }
61
- },
62
- {
63
- "key": "settlement",
64
- "name": {
65
- "en": "Settlement Invoice",
66
- "pl": "Faktura Rozliczeniowa"
67
- }
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
+ "key": "settlement",
67
+ "name": {
68
+ "en": "Settlement Invoice",
69
+ "pl": "Faktura Rozliczeniowa"
70
+ }
71
+ }
72
+ ]
68
73
  }
69
74
  ],
70
75
  "extensions": [
@@ -74,9 +79,9 @@
74
79
  "en": "Special VAT Extensions for KSeF",
75
80
  "pl": "Rozszerzenia specjalne dla KSeF"
76
81
  },
77
- "keys": [
82
+ "values": [
78
83
  {
79
- "key": "taxi",
84
+ "value": "taxi",
80
85
  "name": {
81
86
  "en": "Taxi Rate",
82
87
  "pl": "Ryczałt dla taksówek"
@@ -93,32 +98,74 @@
93
98
  "name": {
94
99
  "en": "Zero VAT Extensions for KSeF"
95
100
  },
96
- "keys": [
101
+ "values": [
97
102
  {
98
- "key": "wdt",
103
+ "value": "wdt",
99
104
  "name": {
100
105
  "en": "WDT",
101
106
  "pl": "WDT"
102
107
  }
103
108
  },
104
109
  {
105
- "key": "domestic",
110
+ "value": "domestic",
106
111
  "name": {
107
112
  "en": "Domestic",
108
113
  "pl": "Krajowy"
109
114
  }
110
115
  },
111
116
  {
112
- "key": "export",
117
+ "value": "export",
113
118
  "name": {
114
119
  "en": "Export",
115
120
  "pl": "Eksport"
116
121
  }
117
122
  }
118
123
  ]
124
+ },
125
+ {
126
+ "key": "pl-ksef-effective-date",
127
+ "name": {
128
+ "en": "Effective date code.",
129
+ "pl": "Kod daty wejścia w życie."
130
+ },
131
+ "values": [
132
+ {
133
+ "value": "1",
134
+ "name": {
135
+ "en": "Original",
136
+ "pl": "Pierwotna"
137
+ },
138
+ "desc": {
139
+ "en": "Effective according to date of the original invoice.",
140
+ "pl": "Faktura skutkująca w dacie ujęcia faktury pierwotnej."
141
+ }
142
+ },
143
+ {
144
+ "value": "2",
145
+ "name": {
146
+ "en": "Correction",
147
+ "pl": "Korygująca"
148
+ },
149
+ "desc": {
150
+ "en": "Effective according to date of correction.",
151
+ "pl": "Faktura skutkująca w dacie ujęcia faktury korygującej."
152
+ }
153
+ },
154
+ {
155
+ "value": "3",
156
+ "name": {
157
+ "en": "Other",
158
+ "pl": "Inna"
159
+ },
160
+ "desc": {
161
+ "en": "Correction has legal consequences in another date or the dates are different for different position on the invoice",
162
+ "pl": "Faktura skutkująca w innej dacie. W tym gdy dla różnych pozycji faktury korygującej data jest różna."
163
+ }
164
+ }
165
+ ]
119
166
  }
120
167
  ],
121
- "payment_means": [
168
+ "payment_means_keys": [
122
169
  {
123
170
  "key": "cash",
124
171
  "name": {
@@ -195,100 +242,100 @@
195
242
  "schema": "bill/invoice",
196
243
  "list": [
197
244
  {
198
- "type": [
199
- "standard"
200
- ],
201
245
  "name": {
202
246
  "en": "Regular Invoice",
203
247
  "pl": "Faktura Podstawowa"
204
248
  },
249
+ "type": [
250
+ "standard"
251
+ ],
205
252
  "codes": {
206
253
  "favat-rodzaj-faktury": "VAT"
207
254
  }
208
255
  },
209
256
  {
257
+ "name": {
258
+ "en": "Prepayment Invoice",
259
+ "pl": "Faktura Zaliczkowa"
260
+ },
210
261
  "type": [
211
262
  "standard"
212
263
  ],
213
264
  "tags": [
214
265
  "partial"
215
266
  ],
216
- "name": {
217
- "en": "Prepayment Invoice",
218
- "pl": "Faktura Zaliczkowa"
219
- },
220
267
  "codes": {
221
268
  "favat-rodzaj-faktury": "ZAL"
222
269
  }
223
270
  },
224
271
  {
272
+ "name": {
273
+ "en": "Settlement Invoice",
274
+ "pl": "Faktura Rozliczeniowa"
275
+ },
225
276
  "type": [
226
277
  "standard"
227
278
  ],
228
279
  "tags": [
229
280
  "settlement"
230
281
  ],
231
- "name": {
232
- "en": "Settlement Invoice",
233
- "pl": "Faktura Rozliczeniowa"
234
- },
235
282
  "codes": {
236
283
  "favat-rodzaj-faktury": "ROZ"
237
284
  }
238
285
  },
239
286
  {
287
+ "name": {
288
+ "en": "Simplified Invoice",
289
+ "pl": "Faktura Uproszczona"
290
+ },
240
291
  "type": [
241
292
  "standard"
242
293
  ],
243
294
  "tags": [
244
295
  "simplified"
245
296
  ],
246
- "name": {
247
- "en": "Simplified Invoice",
248
- "pl": "Faktura Uproszczona"
249
- },
250
297
  "codes": {
251
298
  "favat-rodzaj-faktury": "UPR"
252
299
  }
253
300
  },
254
301
  {
255
- "type": [
256
- "corrective"
257
- ],
258
302
  "name": {
259
- "en": "Corrective Invoice",
260
- "pl": "Faktura Korygująca"
303
+ "en": "Credit note",
304
+ "pl": "Faktura korygująca"
261
305
  },
306
+ "type": [
307
+ "credit-note"
308
+ ],
262
309
  "codes": {
263
310
  "favat-rodzaj-faktury": "KOR"
264
311
  }
265
312
  },
266
313
  {
314
+ "name": {
315
+ "en": "Prepayment credit note",
316
+ "pl": "Faktura korygująca fakturę zaliczkową"
317
+ },
267
318
  "type": [
268
- "corrective"
319
+ "credit-note"
269
320
  ],
270
321
  "tags": [
271
322
  "partial"
272
323
  ],
273
- "name": {
274
- "en": "Corrective Prepayment Invoice",
275
- "pl": "Faktura korygująca fakturę zaliczkową"
276
- },
277
324
  "codes": {
278
325
  "favat-rodzaj-faktury": "KOR_ZAL"
279
326
  }
280
327
  },
281
328
  {
329
+ "name": {
330
+ "en": "Settlement credit note",
331
+ "pl": "Faktura korygująca fakturę rozliczeniową"
332
+ },
282
333
  "type": [
283
- "corrective"
334
+ "credit-note"
284
335
  ],
285
336
  "tags": [
286
337
  "settlement"
287
338
  ],
288
- "name": {
289
- "en": "Corrective Settlement Invoice",
290
- "pl": "Faktura korygująca fakturę rozliczeniową"
291
- },
292
339
  "codes": {
293
340
  "favat-rodzaj-faktury": "KOR_ROZ"
294
341
  }
@@ -296,6 +343,21 @@
296
343
  ]
297
344
  }
298
345
  ],
346
+ "corrections": [
347
+ {
348
+ "schema": "bill/invoice",
349
+ "types": [
350
+ "credit-note"
351
+ ],
352
+ "extensions": [
353
+ "pl-ksef-effective-date"
354
+ ],
355
+ "reason_required": true,
356
+ "stamps": [
357
+ "ksef-id"
358
+ ]
359
+ }
360
+ ],
299
361
  "categories": [
300
362
  {
301
363
  "code": "VAT",
@@ -369,9 +431,6 @@
369
431
  {
370
432
  "percent": "0.0%"
371
433
  }
372
- ],
373
- "extensions": [
374
- "pl-ksef-vat-zero"
375
434
  ]
376
435
  },
377
436
  {
@@ -387,11 +446,12 @@
387
446
  "name": {
388
447
  "en": "Special Rate",
389
448
  "pl": "Stawka Specjalna"
390
- },
391
- "extensions": [
392
- "pl-ksef-vat-special"
393
- ]
449
+ }
394
450
  }
451
+ ],
452
+ "extensions": [
453
+ "pl-ksef-vat-zero",
454
+ "pl-ksef-vat-special"
395
455
  ]
396
456
  }
397
457
  ]