gobl 0.20.0 → 0.21.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 +155 -0
- data/data/regimes/be.json +164 -0
- data/data/regimes/ca.json +9 -0
- data/data/regimes/ch.json +153 -0
- data/data/regimes/co.json +80 -122
- data/data/regimes/de.json +2 -2
- data/data/regimes/es.json +71 -62
- data/data/regimes/fr.json +2 -2
- data/data/regimes/gb.json +8 -0
- data/data/regimes/gr.json +591 -0
- data/data/regimes/it.json +37 -22
- data/data/regimes/mx.json +15 -3
- data/data/regimes/nl.json +8 -0
- data/data/regimes/pl.json +65 -8
- data/data/regimes/pt.json +50 -39
- data/data/regimes/us.json +9 -0
- 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/document_reference.rb +2 -3
- data/lib/generated/gobl/bill/invoice.rb +4 -5
- 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 +0 -1
- data/lib/generated/gobl/bill/outlay.rb +3 -4
- data/lib/generated/gobl/bill/payment.rb +0 -1
- data/lib/generated/gobl/bill/preceding.rb +4 -5
- data/lib/generated/gobl/bill/tax.rb +5 -1
- 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_definition.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 +0 -1
- data/lib/generated/gobl/cbc/meta.rb +0 -1
- data/lib/generated/gobl/cbc/note.rb +0 -1
- 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 +2 -3
- 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 +0 -1
- data/lib/generated/gobl/note/message.rb +5 -1
- data/lib/generated/gobl/org/address.rb +3 -4
- data/lib/generated/gobl/org/coordinates.rb +0 -1
- data/lib/generated/gobl/org/email.rb +3 -4
- data/lib/generated/gobl/org/identity.rb +3 -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 +8 -4
- data/lib/generated/gobl/org/name.rb +3 -4
- data/lib/generated/gobl/org/party.rb +8 -4
- data/lib/generated/gobl/org/person.rb +3 -4
- data/lib/generated/gobl/org/registration.rb +7 -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 +3 -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 +0 -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/category.rb +1 -2
- data/lib/generated/gobl/tax/category_total.rb +0 -1
- data/lib/generated/gobl/tax/combo.rb +1 -2
- data/lib/generated/gobl/tax/correction_definition.rb +0 -1
- data/lib/generated/gobl/tax/extensions.rb +0 -1
- data/lib/generated/gobl/tax/identity.rb +10 -16
- data/lib/generated/gobl/tax/rate.rb +0 -1
- data/lib/generated/gobl/tax/rate_total.rb +1 -2
- data/lib/generated/gobl/tax/rate_total_surcharge.rb +0 -1
- data/lib/generated/gobl/tax/rate_value.rb +5 -1
- data/lib/generated/gobl/tax/regime.rb +15 -11
- data/lib/generated/gobl/tax/scenario.rb +0 -1
- data/lib/generated/gobl/tax/scenario_set.rb +0 -1
- data/lib/generated/gobl/tax/set.rb +0 -1
- data/lib/generated/gobl/tax/source.rb +0 -1
- data/lib/generated/gobl/tax/total.rb +0 -1
- data/lib/gobl/version.rb +1 -1
- metadata +7 -3
- data/lib/generated/gobl/uuid/uuid.rb +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 527b72503f9b68fec83d2f531032d5952cf2b32e1bf2582dec32b386bdb6d5b9
|
4
|
+
data.tar.gz: 9312da9e52c38cfe0c6eba448907e5a1b99fd9041d8e1f4efe34273e99eef94c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6ad6723bb069dd944ab565dc32a1b0bd4fd401e7a375ba73a3f5eec8a963bfafbfff48fa5e0763e8c227d0f7efecb62df5495b2fb56a09aa68d24be654cd004
|
7
|
+
data.tar.gz: 7f387f22afd06dcaf6c2aa295ba315b0f3f934928e942c32604f81ec960c29a43307f1394ec41c953b14dd7417372709d0f9a2dc8e1ad7efc56192531674a2c3
|
data/README.md
CHANGED
@@ -222,7 +222,7 @@ Ensure all the GOBL JSON Schema and Regime files are available by manually copyi
|
|
222
222
|
```bash
|
223
223
|
rm -rf ./data/*
|
224
224
|
cd ../gobl
|
225
|
-
|
225
|
+
go generate .
|
226
226
|
find ./data -name '*.json' -type f | cpio -pdm ../gobl.ruby/
|
227
227
|
cd ../gobl.ruby
|
228
228
|
```
|
@@ -0,0 +1,155 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "https://gobl.org/draft-0/tax/regime",
|
3
|
+
"name": {
|
4
|
+
"en": "Austria"
|
5
|
+
},
|
6
|
+
"time_zone": "Europe/Vienna",
|
7
|
+
"country": "AT",
|
8
|
+
"currency": "EUR",
|
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
|
+
],
|
62
|
+
"scenarios": [
|
63
|
+
{
|
64
|
+
"schema": "bill/invoice",
|
65
|
+
"list": [
|
66
|
+
{
|
67
|
+
"tags": [
|
68
|
+
"reverse-charge"
|
69
|
+
],
|
70
|
+
"note": {
|
71
|
+
"key": "legal",
|
72
|
+
"src": "reverse-charge",
|
73
|
+
"text": "Reverse charge: Customer to account for VAT to the relevant tax authority."
|
74
|
+
}
|
75
|
+
}
|
76
|
+
]
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"corrections": [
|
80
|
+
{
|
81
|
+
"schema": "bill/invoice",
|
82
|
+
"types": [
|
83
|
+
"credit-note"
|
84
|
+
]
|
85
|
+
}
|
86
|
+
],
|
87
|
+
"categories": [
|
88
|
+
{
|
89
|
+
"code": "VAT",
|
90
|
+
"name": {
|
91
|
+
"en": "VAT"
|
92
|
+
},
|
93
|
+
"title": {
|
94
|
+
"en": "Value Added Tax"
|
95
|
+
},
|
96
|
+
"rates": [
|
97
|
+
{
|
98
|
+
"key": "zero",
|
99
|
+
"name": {
|
100
|
+
"en": "Zero Rate"
|
101
|
+
},
|
102
|
+
"values": [
|
103
|
+
{
|
104
|
+
"percent": "0.0%"
|
105
|
+
}
|
106
|
+
]
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"key": "standard",
|
110
|
+
"name": {
|
111
|
+
"en": "Standard Rate"
|
112
|
+
},
|
113
|
+
"values": [
|
114
|
+
{
|
115
|
+
"since": "2011-01-04",
|
116
|
+
"percent": "20.0%"
|
117
|
+
}
|
118
|
+
]
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"key": "intermediate",
|
122
|
+
"name": {
|
123
|
+
"en": "Intermediate Rate"
|
124
|
+
},
|
125
|
+
"values": [
|
126
|
+
{
|
127
|
+
"since": "2011-01-01",
|
128
|
+
"percent": "13.0%"
|
129
|
+
}
|
130
|
+
]
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"key": "reduced",
|
134
|
+
"name": {
|
135
|
+
"en": "Reduced Rate"
|
136
|
+
},
|
137
|
+
"values": [
|
138
|
+
{
|
139
|
+
"since": "2011-01-04",
|
140
|
+
"percent": "10.0%"
|
141
|
+
}
|
142
|
+
]
|
143
|
+
}
|
144
|
+
],
|
145
|
+
"sources": [
|
146
|
+
{
|
147
|
+
"title": {
|
148
|
+
"en": "Business Service Portal - Rates of VAT"
|
149
|
+
},
|
150
|
+
"url": "https://www.usp.gv.at/en/steuern-finanzen/umsatzsteuer/steuersaetze-der-umsatzsteuer.html"
|
151
|
+
}
|
152
|
+
]
|
153
|
+
}
|
154
|
+
]
|
155
|
+
}
|
@@ -0,0 +1,164 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "https://gobl.org/draft-0/tax/regime",
|
3
|
+
"name": {
|
4
|
+
"en": "Belgium"
|
5
|
+
},
|
6
|
+
"time_zone": "Europe/Brussels",
|
7
|
+
"country": "BE",
|
8
|
+
"currency": "EUR",
|
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
|
+
],
|
62
|
+
"scenarios": [
|
63
|
+
{
|
64
|
+
"schema": "bill/invoice",
|
65
|
+
"list": [
|
66
|
+
{
|
67
|
+
"tags": [
|
68
|
+
"reverse-charge"
|
69
|
+
],
|
70
|
+
"note": {
|
71
|
+
"key": "legal",
|
72
|
+
"src": "reverse-charge",
|
73
|
+
"text": "Reverse charge: Customer to account for VAT to the relevant tax authority."
|
74
|
+
}
|
75
|
+
}
|
76
|
+
]
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"corrections": [
|
80
|
+
{
|
81
|
+
"schema": "bill/invoice",
|
82
|
+
"types": [
|
83
|
+
"credit-note"
|
84
|
+
]
|
85
|
+
}
|
86
|
+
],
|
87
|
+
"categories": [
|
88
|
+
{
|
89
|
+
"code": "VAT",
|
90
|
+
"name": {
|
91
|
+
"en": "VAT"
|
92
|
+
},
|
93
|
+
"title": {
|
94
|
+
"en": "Value Added Tax"
|
95
|
+
},
|
96
|
+
"rates": [
|
97
|
+
{
|
98
|
+
"key": "standard",
|
99
|
+
"name": {
|
100
|
+
"de": "Standardsatz",
|
101
|
+
"en": "Standard Rate",
|
102
|
+
"fr": "Taux standard",
|
103
|
+
"nl": "Standaardtarief"
|
104
|
+
},
|
105
|
+
"values": [
|
106
|
+
{
|
107
|
+
"since": "2011-01-04",
|
108
|
+
"percent": "21.0%"
|
109
|
+
}
|
110
|
+
]
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"key": "intermediate",
|
114
|
+
"name": {
|
115
|
+
"de": "Mittlerer Satz",
|
116
|
+
"en": "Intermediate Rate",
|
117
|
+
"fr": "Taux intermédiaire",
|
118
|
+
"nl": "Tussentarief"
|
119
|
+
},
|
120
|
+
"values": [
|
121
|
+
{
|
122
|
+
"since": "2011-01-01",
|
123
|
+
"percent": "12.0%"
|
124
|
+
}
|
125
|
+
]
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"key": "reduced",
|
129
|
+
"name": {
|
130
|
+
"de": "Ermäßigter Satz",
|
131
|
+
"en": "Reduced Rate",
|
132
|
+
"fr": "Taux réduit",
|
133
|
+
"nl": "Verlaagd Tarief"
|
134
|
+
},
|
135
|
+
"values": [
|
136
|
+
{
|
137
|
+
"since": "2011-01-04",
|
138
|
+
"percent": "6.0%"
|
139
|
+
}
|
140
|
+
]
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"key": "zero",
|
144
|
+
"name": {
|
145
|
+
"en": "Zero Rate"
|
146
|
+
},
|
147
|
+
"values": [
|
148
|
+
{
|
149
|
+
"percent": "0.0%"
|
150
|
+
}
|
151
|
+
]
|
152
|
+
}
|
153
|
+
],
|
154
|
+
"sources": [
|
155
|
+
{
|
156
|
+
"title": {
|
157
|
+
"en": "VAT rates | FPS Finance"
|
158
|
+
},
|
159
|
+
"url": "https://finance.belgium.be/en/enterprises/vat/vat-obligation/rates-and-calculation/vat-rates#q1"
|
160
|
+
}
|
161
|
+
]
|
162
|
+
}
|
163
|
+
]
|
164
|
+
}
|
data/data/regimes/ca.json
CHANGED
@@ -0,0 +1,153 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "https://gobl.org/draft-0/tax/regime",
|
3
|
+
"name": {
|
4
|
+
"en": "Switzerland"
|
5
|
+
},
|
6
|
+
"time_zone": "Europe/Zurich",
|
7
|
+
"country": "CH",
|
8
|
+
"currency": "CHF",
|
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
|
+
],
|
62
|
+
"scenarios": [
|
63
|
+
{
|
64
|
+
"schema": "bill/invoice",
|
65
|
+
"list": [
|
66
|
+
{
|
67
|
+
"tags": [
|
68
|
+
"reverse-charge"
|
69
|
+
],
|
70
|
+
"note": {
|
71
|
+
"key": "legal",
|
72
|
+
"src": "reverse-charge",
|
73
|
+
"text": "Reverse charge: Customer to account for VAT to the relevant tax authority."
|
74
|
+
}
|
75
|
+
}
|
76
|
+
]
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"corrections": [
|
80
|
+
{
|
81
|
+
"schema": "bill/invoice",
|
82
|
+
"types": [
|
83
|
+
"credit-note"
|
84
|
+
]
|
85
|
+
}
|
86
|
+
],
|
87
|
+
"categories": [
|
88
|
+
{
|
89
|
+
"code": "VAT",
|
90
|
+
"name": {
|
91
|
+
"en": "VAT"
|
92
|
+
},
|
93
|
+
"title": {
|
94
|
+
"en": "Value Added Tax"
|
95
|
+
},
|
96
|
+
"rates": [
|
97
|
+
{
|
98
|
+
"key": "standard",
|
99
|
+
"name": {
|
100
|
+
"en": "Standard Rate"
|
101
|
+
},
|
102
|
+
"desc": {
|
103
|
+
"en": "Applies to most goods and services."
|
104
|
+
},
|
105
|
+
"values": [
|
106
|
+
{
|
107
|
+
"since": "2024-01-01",
|
108
|
+
"percent": "8.1%"
|
109
|
+
}
|
110
|
+
]
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"key": "intermediate",
|
114
|
+
"name": {
|
115
|
+
"en": "Intermediate Rate"
|
116
|
+
},
|
117
|
+
"desc": {
|
118
|
+
"en": "Applies to accommodation services."
|
119
|
+
},
|
120
|
+
"values": [
|
121
|
+
{
|
122
|
+
"since": "2024-01-01",
|
123
|
+
"percent": "3.8%"
|
124
|
+
}
|
125
|
+
]
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"key": "reduced",
|
129
|
+
"name": {
|
130
|
+
"en": "Reduced Rate"
|
131
|
+
},
|
132
|
+
"desc": {
|
133
|
+
"en": "Applies to food, books, newspapers, and public transport."
|
134
|
+
},
|
135
|
+
"values": [
|
136
|
+
{
|
137
|
+
"since": "2024-01-01",
|
138
|
+
"percent": "2.6%"
|
139
|
+
}
|
140
|
+
]
|
141
|
+
}
|
142
|
+
],
|
143
|
+
"sources": [
|
144
|
+
{
|
145
|
+
"title": {
|
146
|
+
"en": "Current Swiss VAT rates | FTA"
|
147
|
+
},
|
148
|
+
"url": "https://www.estv.admin.ch/estv/en/home/value-added-tax/vat-rates-switzerland.html"
|
149
|
+
}
|
150
|
+
]
|
151
|
+
}
|
152
|
+
]
|
153
|
+
}
|