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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ec942b72e86f98a38cc7a76b2eef82106bbb1be7936d7308d01de31b5283a0e
4
- data.tar.gz: f32bd9b4f3ff4148ac9ea5b522ea8e14c24f023f7f7390f4944eb4fe51adf52d
3
+ metadata.gz: 18a9cc2bc2c5f7e642c6cee9c0ef8943c6f4abe2c295db5660a6cb517ea7f79a
4
+ data.tar.gz: 3309cfefa7f4d83bb60500a6c636df8be1548072241b1864d2fa62f2e1b3cee1
5
5
  SHA512:
6
- metadata.gz: 90ccc83fb7f68a0f909fccda36524a42f3b43d9674679dc425ea9bc2056d1ba250fdcbc092a6e5031b69a45e7b76ca9244e97c5bdb1b6a50ae5b1eaea4ef2965
7
- data.tar.gz: 0a7d865c26b929c23b6a7b2eaf9526d359da3c2553fb436115f0891bc7835a3faf8dd88603aa4f432f30f2b37e460cfed73adca8075fca90c725ddd48bc32b05
6
+ metadata.gz: 8c5329f96d72df587a2b27c5dc02dd4536f884593fa3e35a520f9ef97624720edb04d7c5fbd997cc955d9e2d5a08089dbaaf7deecd050afa184f4548a8e94a70
7
+ data.tar.gz: a08c7d72beb3ba37044f4c66342c770c422d6f0556092abbbf31361a00c6c66c846de60c1d5d6a74e4d0a30015756d18dc70e7afdc87fb89bc2ce9f47372519a
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
- mage schema
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,160 @@
1
+ {
2
+ "$schema": "https://gobl.org/draft-0/tax/regime-def",
3
+ "name": {
4
+ "en": "Austria"
5
+ },
6
+ "time_zone": "Europe/Vienna",
7
+ "country": "AT",
8
+ "currency": "EUR",
9
+ "tags": [
10
+ {
11
+ "schema": "bill/invoice",
12
+ "list": [
13
+ {
14
+ "key": "simplified",
15
+ "name": {
16
+ "de": "Vereinfachte Rechnung",
17
+ "en": "Simplified Invoice",
18
+ "es": "Factura Simplificada",
19
+ "it": "Fattura Semplificata"
20
+ },
21
+ "desc": {
22
+ "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.",
23
+ "en": "Used for B2C transactions when the client details are not available, check with local authorities for limits.",
24
+ "es": "Usado para transacciones B2C cuando los detalles del cliente no están disponibles, consulte con las autoridades locales para los límites.",
25
+ "it": "Utilizzato per le transazioni B2C quando i dettagli del cliente non sono disponibili, controllare con le autorità locali per i limiti."
26
+ }
27
+ },
28
+ {
29
+ "key": "reverse-charge",
30
+ "name": {
31
+ "de": "Umkehr der Steuerschuld",
32
+ "en": "Reverse Charge",
33
+ "es": "Inversión del Sujeto Pasivo",
34
+ "it": "Inversione del soggetto passivo"
35
+ }
36
+ },
37
+ {
38
+ "key": "self-billed",
39
+ "name": {
40
+ "de": "Rechnung durch den Leistungsempfänger",
41
+ "en": "Self-billed",
42
+ "es": "Facturación por el destinatario",
43
+ "it": "Autofattura"
44
+ }
45
+ },
46
+ {
47
+ "key": "customer-rates",
48
+ "name": {
49
+ "de": "Kundensätze",
50
+ "en": "Customer rates",
51
+ "es": "Tarifas aplicables al destinatario",
52
+ "it": "Aliquote applicabili al destinatario"
53
+ }
54
+ },
55
+ {
56
+ "key": "partial",
57
+ "name": {
58
+ "de": "Teilweise",
59
+ "en": "Partial",
60
+ "es": "Parcial",
61
+ "it": "Parziale"
62
+ }
63
+ }
64
+ ]
65
+ }
66
+ ],
67
+ "scenarios": [
68
+ {
69
+ "schema": "bill/invoice",
70
+ "list": [
71
+ {
72
+ "tags": [
73
+ "reverse-charge"
74
+ ],
75
+ "note": {
76
+ "key": "legal",
77
+ "src": "reverse-charge",
78
+ "text": "Reverse charge: Customer to account for VAT to the relevant tax authority."
79
+ }
80
+ }
81
+ ]
82
+ }
83
+ ],
84
+ "corrections": [
85
+ {
86
+ "schema": "bill/invoice",
87
+ "types": [
88
+ "credit-note"
89
+ ]
90
+ }
91
+ ],
92
+ "categories": [
93
+ {
94
+ "code": "VAT",
95
+ "name": {
96
+ "en": "VAT"
97
+ },
98
+ "title": {
99
+ "en": "Value Added Tax"
100
+ },
101
+ "rates": [
102
+ {
103
+ "key": "zero",
104
+ "name": {
105
+ "en": "Zero Rate"
106
+ },
107
+ "values": [
108
+ {
109
+ "percent": "0.0%"
110
+ }
111
+ ]
112
+ },
113
+ {
114
+ "key": "standard",
115
+ "name": {
116
+ "en": "Standard Rate"
117
+ },
118
+ "values": [
119
+ {
120
+ "since": "2011-01-04",
121
+ "percent": "20.0%"
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "key": "intermediate",
127
+ "name": {
128
+ "en": "Intermediate Rate"
129
+ },
130
+ "values": [
131
+ {
132
+ "since": "2011-01-01",
133
+ "percent": "13.0%"
134
+ }
135
+ ]
136
+ },
137
+ {
138
+ "key": "reduced",
139
+ "name": {
140
+ "en": "Reduced Rate"
141
+ },
142
+ "values": [
143
+ {
144
+ "since": "2011-01-04",
145
+ "percent": "10.0%"
146
+ }
147
+ ]
148
+ }
149
+ ],
150
+ "sources": [
151
+ {
152
+ "title": {
153
+ "en": "Business Service Portal - Rates of VAT"
154
+ },
155
+ "url": "https://www.usp.gv.at/en/steuern-finanzen/umsatzsteuer/steuersaetze-der-umsatzsteuer.html"
156
+ }
157
+ ]
158
+ }
159
+ ]
160
+ }
@@ -0,0 +1,169 @@
1
+ {
2
+ "$schema": "https://gobl.org/draft-0/tax/regime-def",
3
+ "name": {
4
+ "en": "Belgium"
5
+ },
6
+ "time_zone": "Europe/Brussels",
7
+ "country": "BE",
8
+ "currency": "EUR",
9
+ "tags": [
10
+ {
11
+ "schema": "bill/invoice",
12
+ "list": [
13
+ {
14
+ "key": "simplified",
15
+ "name": {
16
+ "de": "Vereinfachte Rechnung",
17
+ "en": "Simplified Invoice",
18
+ "es": "Factura Simplificada",
19
+ "it": "Fattura Semplificata"
20
+ },
21
+ "desc": {
22
+ "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.",
23
+ "en": "Used for B2C transactions when the client details are not available, check with local authorities for limits.",
24
+ "es": "Usado para transacciones B2C cuando los detalles del cliente no están disponibles, consulte con las autoridades locales para los límites.",
25
+ "it": "Utilizzato per le transazioni B2C quando i dettagli del cliente non sono disponibili, controllare con le autorità locali per i limiti."
26
+ }
27
+ },
28
+ {
29
+ "key": "reverse-charge",
30
+ "name": {
31
+ "de": "Umkehr der Steuerschuld",
32
+ "en": "Reverse Charge",
33
+ "es": "Inversión del Sujeto Pasivo",
34
+ "it": "Inversione del soggetto passivo"
35
+ }
36
+ },
37
+ {
38
+ "key": "self-billed",
39
+ "name": {
40
+ "de": "Rechnung durch den Leistungsempfänger",
41
+ "en": "Self-billed",
42
+ "es": "Facturación por el destinatario",
43
+ "it": "Autofattura"
44
+ }
45
+ },
46
+ {
47
+ "key": "customer-rates",
48
+ "name": {
49
+ "de": "Kundensätze",
50
+ "en": "Customer rates",
51
+ "es": "Tarifas aplicables al destinatario",
52
+ "it": "Aliquote applicabili al destinatario"
53
+ }
54
+ },
55
+ {
56
+ "key": "partial",
57
+ "name": {
58
+ "de": "Teilweise",
59
+ "en": "Partial",
60
+ "es": "Parcial",
61
+ "it": "Parziale"
62
+ }
63
+ }
64
+ ]
65
+ }
66
+ ],
67
+ "scenarios": [
68
+ {
69
+ "schema": "bill/invoice",
70
+ "list": [
71
+ {
72
+ "tags": [
73
+ "reverse-charge"
74
+ ],
75
+ "note": {
76
+ "key": "legal",
77
+ "src": "reverse-charge",
78
+ "text": "Reverse charge: Customer to account for VAT to the relevant tax authority."
79
+ }
80
+ }
81
+ ]
82
+ }
83
+ ],
84
+ "corrections": [
85
+ {
86
+ "schema": "bill/invoice",
87
+ "types": [
88
+ "credit-note"
89
+ ]
90
+ }
91
+ ],
92
+ "categories": [
93
+ {
94
+ "code": "VAT",
95
+ "name": {
96
+ "en": "VAT"
97
+ },
98
+ "title": {
99
+ "en": "Value Added Tax"
100
+ },
101
+ "rates": [
102
+ {
103
+ "key": "standard",
104
+ "name": {
105
+ "de": "Standardsatz",
106
+ "en": "Standard Rate",
107
+ "fr": "Taux standard",
108
+ "nl": "Standaardtarief"
109
+ },
110
+ "values": [
111
+ {
112
+ "since": "2011-01-04",
113
+ "percent": "21.0%"
114
+ }
115
+ ]
116
+ },
117
+ {
118
+ "key": "intermediate",
119
+ "name": {
120
+ "de": "Mittlerer Satz",
121
+ "en": "Intermediate Rate",
122
+ "fr": "Taux intermédiaire",
123
+ "nl": "Tussentarief"
124
+ },
125
+ "values": [
126
+ {
127
+ "since": "2011-01-01",
128
+ "percent": "12.0%"
129
+ }
130
+ ]
131
+ },
132
+ {
133
+ "key": "reduced",
134
+ "name": {
135
+ "de": "Ermäßigter Satz",
136
+ "en": "Reduced Rate",
137
+ "fr": "Taux réduit",
138
+ "nl": "Verlaagd Tarief"
139
+ },
140
+ "values": [
141
+ {
142
+ "since": "2011-01-04",
143
+ "percent": "6.0%"
144
+ }
145
+ ]
146
+ },
147
+ {
148
+ "key": "zero",
149
+ "name": {
150
+ "en": "Zero Rate"
151
+ },
152
+ "values": [
153
+ {
154
+ "percent": "0.0%"
155
+ }
156
+ ]
157
+ }
158
+ ],
159
+ "sources": [
160
+ {
161
+ "title": {
162
+ "en": "VAT rates | FPS Finance"
163
+ },
164
+ "url": "https://finance.belgium.be/en/enterprises/vat/vat-obligation/rates-and-calculation/vat-rates#q1"
165
+ }
166
+ ]
167
+ }
168
+ ]
169
+ }
data/data/regimes/ca.json CHANGED
@@ -1,11 +1,20 @@
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": "Canada"
5
5
  },
6
6
  "time_zone": "America/Toronto",
7
7
  "country": "CA",
8
8
  "currency": "CAD",
9
+ "corrections": [
10
+ {
11
+ "schema": "bill/invoice",
12
+ "types": [
13
+ "credit-note",
14
+ "debit-note"
15
+ ]
16
+ }
17
+ ],
9
18
  "categories": [
10
19
  {
11
20
  "code": "GST",
@@ -0,0 +1,158 @@
1
+ {
2
+ "$schema": "https://gobl.org/draft-0/tax/regime-def",
3
+ "name": {
4
+ "en": "Switzerland"
5
+ },
6
+ "time_zone": "Europe/Zurich",
7
+ "country": "CH",
8
+ "currency": "CHF",
9
+ "tags": [
10
+ {
11
+ "schema": "bill/invoice",
12
+ "list": [
13
+ {
14
+ "key": "simplified",
15
+ "name": {
16
+ "de": "Vereinfachte Rechnung",
17
+ "en": "Simplified Invoice",
18
+ "es": "Factura Simplificada",
19
+ "it": "Fattura Semplificata"
20
+ },
21
+ "desc": {
22
+ "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.",
23
+ "en": "Used for B2C transactions when the client details are not available, check with local authorities for limits.",
24
+ "es": "Usado para transacciones B2C cuando los detalles del cliente no están disponibles, consulte con las autoridades locales para los límites.",
25
+ "it": "Utilizzato per le transazioni B2C quando i dettagli del cliente non sono disponibili, controllare con le autorità locali per i limiti."
26
+ }
27
+ },
28
+ {
29
+ "key": "reverse-charge",
30
+ "name": {
31
+ "de": "Umkehr der Steuerschuld",
32
+ "en": "Reverse Charge",
33
+ "es": "Inversión del Sujeto Pasivo",
34
+ "it": "Inversione del soggetto passivo"
35
+ }
36
+ },
37
+ {
38
+ "key": "self-billed",
39
+ "name": {
40
+ "de": "Rechnung durch den Leistungsempfänger",
41
+ "en": "Self-billed",
42
+ "es": "Facturación por el destinatario",
43
+ "it": "Autofattura"
44
+ }
45
+ },
46
+ {
47
+ "key": "customer-rates",
48
+ "name": {
49
+ "de": "Kundensätze",
50
+ "en": "Customer rates",
51
+ "es": "Tarifas aplicables al destinatario",
52
+ "it": "Aliquote applicabili al destinatario"
53
+ }
54
+ },
55
+ {
56
+ "key": "partial",
57
+ "name": {
58
+ "de": "Teilweise",
59
+ "en": "Partial",
60
+ "es": "Parcial",
61
+ "it": "Parziale"
62
+ }
63
+ }
64
+ ]
65
+ }
66
+ ],
67
+ "scenarios": [
68
+ {
69
+ "schema": "bill/invoice",
70
+ "list": [
71
+ {
72
+ "tags": [
73
+ "reverse-charge"
74
+ ],
75
+ "note": {
76
+ "key": "legal",
77
+ "src": "reverse-charge",
78
+ "text": "Reverse charge: Customer to account for VAT to the relevant tax authority."
79
+ }
80
+ }
81
+ ]
82
+ }
83
+ ],
84
+ "corrections": [
85
+ {
86
+ "schema": "bill/invoice",
87
+ "types": [
88
+ "credit-note"
89
+ ]
90
+ }
91
+ ],
92
+ "categories": [
93
+ {
94
+ "code": "VAT",
95
+ "name": {
96
+ "en": "VAT"
97
+ },
98
+ "title": {
99
+ "en": "Value Added Tax"
100
+ },
101
+ "rates": [
102
+ {
103
+ "key": "standard",
104
+ "name": {
105
+ "en": "Standard Rate"
106
+ },
107
+ "desc": {
108
+ "en": "Applies to most goods and services."
109
+ },
110
+ "values": [
111
+ {
112
+ "since": "2024-01-01",
113
+ "percent": "8.1%"
114
+ }
115
+ ]
116
+ },
117
+ {
118
+ "key": "intermediate",
119
+ "name": {
120
+ "en": "Intermediate Rate"
121
+ },
122
+ "desc": {
123
+ "en": "Applies to accommodation services."
124
+ },
125
+ "values": [
126
+ {
127
+ "since": "2024-01-01",
128
+ "percent": "3.8%"
129
+ }
130
+ ]
131
+ },
132
+ {
133
+ "key": "reduced",
134
+ "name": {
135
+ "en": "Reduced Rate"
136
+ },
137
+ "desc": {
138
+ "en": "Applies to food, books, newspapers, and public transport."
139
+ },
140
+ "values": [
141
+ {
142
+ "since": "2024-01-01",
143
+ "percent": "2.6%"
144
+ }
145
+ ]
146
+ }
147
+ ],
148
+ "sources": [
149
+ {
150
+ "title": {
151
+ "en": "Current Swiss VAT rates | FTA"
152
+ },
153
+ "url": "https://www.estv.admin.ch/estv/en/home/value-added-tax/vat-rates-switzerland.html"
154
+ }
155
+ ]
156
+ }
157
+ ]
158
+ }