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/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
|
-
"
|
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
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
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
|
-
"
|
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
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
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
|
-
"
|
82
|
+
"values": [
|
78
83
|
{
|
79
|
-
"
|
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
|
-
"
|
101
|
+
"values": [
|
97
102
|
{
|
98
|
-
"
|
103
|
+
"value": "wdt",
|
99
104
|
"name": {
|
100
105
|
"en": "WDT",
|
101
106
|
"pl": "WDT"
|
102
107
|
}
|
103
108
|
},
|
104
109
|
{
|
105
|
-
"
|
110
|
+
"value": "domestic",
|
106
111
|
"name": {
|
107
112
|
"en": "Domestic",
|
108
113
|
"pl": "Krajowy"
|
109
114
|
}
|
110
115
|
},
|
111
116
|
{
|
112
|
-
"
|
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
|
-
"
|
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": "
|
260
|
-
"pl": "Faktura
|
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
|
-
"
|
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
|
-
"
|
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
|
]
|