eu_vat_rates_data 2026.4.24 → 2026.4.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 889946b5a304b7d6cdba6a04376dee24c3c3938b9563f311b6e844a2bab3d39b
4
- data.tar.gz: cade0b28a1cb0b4226a25ae1b4d21576b1704657382d3978b97651a936bed75e
3
+ metadata.gz: ee9b568dd9ec30a42cb3265f6a5faec706ddfe271b3e3c1c2ffdf68656510f3e
4
+ data.tar.gz: 1b01c0819679d35aabaa5a64213d2fc15e0f45fb7a27c2e34fd3935d5acbf7ae
5
5
  SHA512:
6
- metadata.gz: e600ef149cd9d96c8783f680cb561ebdb83c752060774ce4399e2a449836666be77af0cad477821667a2bc39297f6d86553edb9b8e730e7b2ea6463a51a05d62
7
- data.tar.gz: 5b928bc7e8e827373a464e8a9a391adf253cb3ea1f7b84fceb384b62c383d048d6a6eeb07be3c5a24126d34e028486bd3d523dbec15dd2364a69a615518cb90b
6
+ metadata.gz: 5ddb62b02fa0247be71533f5b95d805634cc91cd3cf9451cdf35258bd239eab629aff9f0086e31f1ef58572d394f4f185e9d1a0ac9979a1c834799dc39257744
7
+ data.tar.gz: a9351f4848fd679374a67f316409d7543a7430d87181f73960001e33753fded227ea67bc563ab786230398fecaa9ea4cfb34f49a6779aca40de8cb8c19342343
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![Last updated](https://img.shields.io/github/last-commit/vatnode/eu-vat-rates-data-ruby?path=data%2Feu-vat-rates-data.json&label=last%20updated)](https://github.com/vatnode/eu-vat-rates-data-ruby/commits/main)
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
6
6
 
7
- VAT rates for **44 European countries** — EU-27 plus Norway, Switzerland, UK, and more. EU rates sourced from the European Commission TEDB and checked daily. Non-EU rates maintained manually.
7
+ VAT rates for **45 European countries** — EU-27 plus Norway, Switzerland, UK, and more. EU rates sourced from the European Commission TEDB and checked daily. Non-EU rates maintained manually.
8
8
 
9
9
  - Standard, reduced, super-reduced, and parking rates
10
10
  - `eu_member` flag on every country — `true` for EU-27, `false` for non-EU
@@ -57,12 +57,12 @@ if EuVatRatesData.eu_member?(user_input)
57
57
  rate = EuVatRatesData.get_rate(user_input)
58
58
  end
59
59
 
60
- # Dataset membership check (all 44 countries)
60
+ # Dataset membership check (all 45 countries)
61
61
  if EuVatRatesData.has_rate?(user_input)
62
62
  rate = EuVatRatesData.get_rate(user_input)
63
63
  end
64
64
 
65
- # All 44 countries at once
65
+ # All 45 countries at once
66
66
  EuVatRatesData.all_rates.each do |code, rate|
67
67
  puts "#{code}: #{rate['standard']}%"
68
68
  end
@@ -137,6 +137,13 @@ curl https://api.vatnode.dev/v1/vat/FI17156132 \
137
137
 
138
138
  ---
139
139
 
140
+ ## Changelog
141
+
142
+ ### 2026-04-25
143
+ - **fix:** Corrected Sweden (SE) VAT number regex — was `^SE\d{12}$`, now correctly requires the mandatory `01` suffix: `^SE\d{10}01$`.
144
+
145
+ ---
146
+
140
147
  ## License
141
148
 
142
149
  MIT
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2026-04-24",
2
+ "version": "2026-04-25",
3
3
  "source": "European Commission TEDB",
4
4
  "rates": {
5
5
  "AD": {
@@ -1,3 +1,3 @@
1
1
  module EuVatRatesData
2
- VERSION = "2026.4.24"
2
+ VERSION = "2026.4.26"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eu_vat_rates_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 2026.4.24
4
+ version: 2026.4.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Iurii Rogulia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-04-24 00:00:00.000000000 Z
11
+ date: 2026-04-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: VAT rates (standard, reduced, super-reduced, parking) for 44 European
14
14
  countries — EU-27 plus Norway, Switzerland, UK, and more. Includes eu_member flag,