eu_vat_rates_data 2026.4.25 → 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 +4 -4
- data/README.md +3 -3
- data/lib/eu_vat_rates_data/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ee9b568dd9ec30a42cb3265f6a5faec706ddfe271b3e3c1c2ffdf68656510f3e
|
|
4
|
+
data.tar.gz: 1b01c0819679d35aabaa5a64213d2fc15e0f45fb7a27c2e34fd3935d5acbf7ae
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5ddb62b02fa0247be71533f5b95d805634cc91cd3cf9451cdf35258bd239eab629aff9f0086e31f1ef58572d394f4f185e9d1a0ac9979a1c834799dc39257744
|
|
7
|
+
data.tar.gz: a9351f4848fd679374a67f316409d7543a7430d87181f73960001e33753fded227ea67bc563ab786230398fecaa9ea4cfb34f49a6779aca40de8cb8c19342343
|
data/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
[](https://github.com/vatnode/eu-vat-rates-data-ruby/commits/main)
|
|
5
5
|
[](LICENSE)
|
|
6
6
|
|
|
7
|
-
VAT rates for **
|
|
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
|
|
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
|
|
65
|
+
# All 45 countries at once
|
|
66
66
|
EuVatRatesData.all_rates.each do |code, rate|
|
|
67
67
|
puts "#{code}: #{rate['standard']}%"
|
|
68
68
|
end
|