valvat 1.4.0 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +2 -1
  3. data/lib/valvat/lookup/vies.rb +2 -2
  4. data/lib/valvat/version.rb +1 -1
  5. data.tar.gz.sig +0 -0
  6. metadata +35 -103
  7. metadata.gz.sig +0 -0
  8. data/.editorconfig +0 -15
  9. data/.github/workflows/rubocop.yml +0 -17
  10. data/.github/workflows/specs.yml +0 -45
  11. data/.gitignore +0 -9
  12. data/.rubocop.yml +0 -24
  13. data/CHANGES.md +0 -413
  14. data/Gemfile +0 -14
  15. data/Guardfile +0 -7
  16. data/MIT-LICENSE +0 -20
  17. data/README.md +0 -350
  18. data/Rakefile +0 -10
  19. data/certs/mite.pem +0 -26
  20. data/gemfiles/activemodel-5 +0 -8
  21. data/gemfiles/activemodel-6 +0 -8
  22. data/gemfiles/activemodel-7 +0 -8
  23. data/gemfiles/standalone +0 -7
  24. data/lib/valvat/locales/bg.yml +0 -34
  25. data/lib/valvat/locales/ca.yml +0 -34
  26. data/lib/valvat/locales/cs.yml +0 -34
  27. data/lib/valvat/locales/da.yml +0 -34
  28. data/lib/valvat/locales/de.yml +0 -35
  29. data/lib/valvat/locales/en.yml +0 -35
  30. data/lib/valvat/locales/es.yml +0 -35
  31. data/lib/valvat/locales/fi.yml +0 -34
  32. data/lib/valvat/locales/fr.yml +0 -34
  33. data/lib/valvat/locales/hu.yml +0 -35
  34. data/lib/valvat/locales/it.yml +0 -34
  35. data/lib/valvat/locales/lv.yml +0 -34
  36. data/lib/valvat/locales/nb.yml +0 -34
  37. data/lib/valvat/locales/nl.yml +0 -35
  38. data/lib/valvat/locales/pl.yml +0 -35
  39. data/lib/valvat/locales/pt.yml +0 -34
  40. data/lib/valvat/locales/ro.yml +0 -34
  41. data/lib/valvat/locales/sk.yml +0 -34
  42. data/lib/valvat/locales/sv.yml +0 -34
  43. data/lib/valvat/locales/tr.yml +0 -34
  44. data/spec/active_model/validations/valvat_validator_spec.rb +0 -274
  45. data/spec/spec_helper.rb +0 -37
  46. data/spec/valvat/checksum/at_spec.rb +0 -17
  47. data/spec/valvat/checksum/be_spec.rb +0 -17
  48. data/spec/valvat/checksum/bg_spec.rb +0 -18
  49. data/spec/valvat/checksum/cy_spec.rb +0 -17
  50. data/spec/valvat/checksum/de_spec.rb +0 -17
  51. data/spec/valvat/checksum/dk_spec.rb +0 -17
  52. data/spec/valvat/checksum/ee_spec.rb +0 -17
  53. data/spec/valvat/checksum/es_spec.rb +0 -65
  54. data/spec/valvat/checksum/fi_spec.rb +0 -17
  55. data/spec/valvat/checksum/fr_spec.rb +0 -17
  56. data/spec/valvat/checksum/gb_spec.rb +0 -34
  57. data/spec/valvat/checksum/gr_spec.rb +0 -17
  58. data/spec/valvat/checksum/hr_spec.rb +0 -17
  59. data/spec/valvat/checksum/hu_spec.rb +0 -17
  60. data/spec/valvat/checksum/ie_spec.rb +0 -24
  61. data/spec/valvat/checksum/it_spec.rb +0 -25
  62. data/spec/valvat/checksum/lt_spec.rb +0 -17
  63. data/spec/valvat/checksum/lu_spec.rb +0 -17
  64. data/spec/valvat/checksum/mt_spec.rb +0 -17
  65. data/spec/valvat/checksum/nl_spec.rb +0 -17
  66. data/spec/valvat/checksum/pl_spec.rb +0 -21
  67. data/spec/valvat/checksum/pt_spec.rb +0 -30
  68. data/spec/valvat/checksum/ro_spec.rb +0 -17
  69. data/spec/valvat/checksum/se_spec.rb +0 -21
  70. data/spec/valvat/checksum/si_spec.rb +0 -25
  71. data/spec/valvat/checksum_spec.rb +0 -40
  72. data/spec/valvat/lookup/hmrc_spec.rb +0 -58
  73. data/spec/valvat/lookup/vies_spec.rb +0 -25
  74. data/spec/valvat/lookup_spec.rb +0 -493
  75. data/spec/valvat/options_spec.rb +0 -23
  76. data/spec/valvat/syntax_spec.rb +0 -68
  77. data/spec/valvat/utils_spec.rb +0 -125
  78. data/spec/valvat_spec.rb +0 -276
  79. data/valvat.gemspec +0 -24
data/README.md DELETED
@@ -1,350 +0,0 @@
1
- valvat
2
- ===========
3
-
4
- [![rubygems](https://badgen.net/rubygems/v/valvat)](https://rubygems.org/gems/valvat) [![Specs](https://github.com/yolk/valvat/workflows/Specs/badge.svg)](https://github.com/yolk/valvat/actions?query=workflow%3ASpecs)
5
-
6
- Validates european vat numbers. Standalone or as a ActiveModel validator.
7
-
8
- ## A note on Brexit
9
-
10
- Valvat supports validating VAT-IDs from the UK by syntax, checksum and using the HMRC API (for backwards compatibility only with the `:uk` option set to true). Validation against the VIES web service stopped working early 2021.
11
-
12
- Northern Ireland received its own VAT number prefix - XI which is supported by VIES web service so any XI-prefixed VAT numbers should be validated as any EU VAT number.
13
-
14
- ## Features
15
-
16
- * Simple syntax verification
17
- * Lookup via the VIES web service
18
- * (Optional) lookup via the HMRC web service (for UK VAT numbers)
19
- * ActiveModel/Rails integration
20
- * Works standalone without ActiveModel
21
- * Minimal runtime dependencies
22
- * I18n locales for language specific error messages in English, German, French, Spanish, Italian, Portuguese, Polish, Swedish, Dutch, Danish, Czech, Slovakian, Hungarian, Bulgarian, Romanian, Latvian, Catalan, Norwegian, and Finnish.
23
- * *Experimental* checksum verification
24
-
25
- valvat is tested and works with ruby MRI 2.6/2.7/3.0/3.1/3.2, jruby and ActiveModel 5/6/7. If you need support for ruby down to 1.9.3 and ActiveModel 3 and 4 use [v1.0.1](https://github.com/yolk/valvat/tree/v1.0.1).
26
-
27
- ## Installation
28
-
29
- Add it to your Gemfile:
30
-
31
- ```ruby
32
- gem 'valvat'
33
- ```
34
-
35
- And run:
36
-
37
- $ bundle
38
-
39
- Or install it yourself as:
40
-
41
- $ gem install valvat
42
-
43
- ## Validate the syntax of a VAT number
44
-
45
- To verify the syntax of a vat number:
46
-
47
- ```ruby
48
- Valvat.new("DE345789003").valid?
49
- # => true or false
50
- ```
51
-
52
- It is also possible to bypass initializing a Valvat instance and check the syntax of a vat number string directly with:
53
-
54
- ```ruby
55
- Valvat::Syntax.validate("DE345789003")
56
- # => true or false
57
- ```
58
-
59
- ## Validate against the VIES / HMRC web service
60
-
61
- To check if the given vat number exists via the VIES or HMRC web service:
62
-
63
- ```ruby
64
- Valvat.new("DE345789003").exists?
65
- # => true or false or nil
66
- ```
67
-
68
- Or to lookup a vat number string directly:
69
-
70
- ```ruby
71
- Valvat::Lookup.validate("DE345789003")
72
- # => true or false or nil
73
- ```
74
-
75
- To keep backwards compatibility lookups of UK VAT numbers against the HMRC API are only performed with the option `:uk` set to true.
76
-
77
- ```ruby
78
- Valvat::Lookup.validate("GB553557881", uk: true)
79
- # => true or false or nil
80
- ```
81
-
82
- Without this option the lookup of UK VAT number always returns `false`.
83
-
84
- *IMPORTANT* Keep in mind that the web service might be offline at some time for all or some member states. If this happens `exists?` or `Valvat::Lookup.validate` will return `nil`. See *Handling of maintenance errors* for further details.
85
-
86
- ### Details & request identifier
87
-
88
- If you need all details and not only if the VAT is valid, pass {detail: true} as second parameter to the lookup call.
89
-
90
- ```ruby
91
- Valvat.new("IE6388047V").exists?(detail: true)
92
- => {
93
- :country_code=> "IE", :vat_number => "6388047V", :valid => true,
94
- :request_date => Date.today, :name=> "GOOGLE IRELAND LIMITED",
95
- :address=> "1ST & 2ND FLOOR ,GORDON HOUSE ,BARROW STREET ,DUBLIN 4"
96
- } or false or nil
97
- ```
98
-
99
- According to EU law, or at least as Austria sees it, it's mandatory to verify the VAT number of every new customer, but also to check the VAT number periodicaly. To prove that you have checked the VAT number, the web service can return a `request_identifier`.
100
-
101
- To receive a `request_identifier` you need to pass your own VAT number in the options hash. In this example, Google (VAT IE6388047V) is checking the validity of eBays VAT number (LU21416127)
102
-
103
- ```ruby
104
- Valvat.new("LU21416127").exists?(requester: "IE6388047V")
105
- => {
106
- :country_code=>"LU", :vat_number => "21416127", :valid => true,
107
- :request_date => Date.today, :name=>"EBAY EUROPE S.A R.L.",
108
- :address => "22, BOULEVARD ROYAL\nL-2449 LUXEMBOURG",
109
- :company_type => nil, :request_identifier => "some_uniq_string"
110
- } or false or nil
111
- ```
112
-
113
- If the given `requester` is invalid, a `Valvat::InvalidRequester` error is thrown.
114
-
115
- When requesting a `request_identifier` for a GB VAT number, the requester must be your own GB number; a EU VAT number won't work.
116
-
117
- Note that when validating UK VAT numbers using the HMRC service, the detail output is modified to match the one from VIES more closely with slight differences remaining:
118
-
119
- 1. The `request_date` will actually be a (more precise) `Time` instead of a `Date`
120
- 2. The `address` string will join lines using `\n` instead of `,` so it's more acurate and can be displayed nicely.
121
-
122
- ### Handling of maintenance errors
123
-
124
- From time to time the VIES web service for one or all member states is down for maintenance. To handle this kind of temporary errors, `Valvat::Lookup#validate` returns `nil` by default to indicate that there is no way at the moment to say if the given VAT is valid or not. You should revalidate the VAT later. If you prefer an error, use the `raise_error` option:
125
-
126
- ```ruby
127
- Valvat.new("IE6388047V").exists?(raise_error: true)
128
- ```
129
-
130
- This raises `Valvat::ServiceUnavailable` or `Valvat::MemberStateUnavailable` instead of returning `nil`.
131
-
132
- Visit [https://ec.europa.eu/taxation_customs/vies/#/help](https://ec.europa.eu/taxation_customs/vies/#/help) for more accurate information at what time the service for a specific member state will be down.
133
-
134
- ### Handling of other errors
135
-
136
- All other errors accuring while validating against the web service are raised and must be handled by you. These include:
137
-
138
- * `Valvat::InvalidRequester`
139
- * `Valvat::BlockedError`
140
- * `Valvat::RateLimitError`
141
- * `Valvat::Timeout`
142
- * all IO errors
143
-
144
- If you want to suppress all known error cases. Pass in the `raise_error` option set to `false`:
145
-
146
- ```ruby
147
- Valvat.new("IE6388047V").exists?(raise_error: false)
148
- ```
149
-
150
- This will return `nil` instead of raising a known error.
151
-
152
- ### Set options for the Net::HTTP client
153
-
154
- Use the `:http` key to set options for the http client. These options are directly passed to `Net::HTTP.start`.
155
-
156
- For example to set timeouts:
157
-
158
- ```ruby
159
- Valvat.new("IE6388047V").exists?(http: { open_timeout: 10, read_timeout: 10 })
160
- ```
161
-
162
- ### Skip local validation before lookup
163
-
164
- To prevent unnecessary requests, valvat performs a local syntax check before making the request to the web service. If you want to skip this step (for any reason), set the `:skip_local_validation` option to `true`.
165
-
166
- ## Experimental checksum verification
167
-
168
- valvat allows to check vat numbers from AT, BE, BG, DE, DK, ES, FR, FI, GR, IE, IT, LU, NL, PL, PT, SE and SI against a checksum calculation. All other member states will fall back to a basic syntax check:
169
-
170
- ```ruby
171
- Valvat.new("DE345789003").valid_checksum?
172
- # => true or false
173
- ```
174
-
175
- These results are more valuable than a simple syntax check, but keep in mind: they can not replace a lookup via VIES or HMRC.
176
-
177
- *IMPORTANT* This feature was tested against all vat numbers I could get my hand on, but it is still marked as *experimental* because these calculations are not documented and may return wrong results.
178
-
179
- To bypass initializing a Valvat instance:
180
-
181
- ```ruby
182
- Valvat::Checksum.validate("DE345789003")
183
- # => true or false
184
- ```
185
-
186
- ## Configuration
187
-
188
- Instead of passing in the same options again and again, Valvat allows to alter its default configuration. This feature is intended to be used when initializing your application (for example in a Rails initializer file).
189
-
190
- ```ruby
191
- Valvat.configure(
192
- uk: true,
193
- raise_error: true,
194
- http: { read_timeout: 5 }
195
- )
196
- ```
197
-
198
- To see all options and the defaults, take a look at [valvat/configuration](https://github.com/yolk/valvat/blob/master/lib/valvat/configuration.rb#L25).
199
-
200
- ## Usage with ActiveModel / Rails
201
-
202
- ### Loading
203
-
204
- When the valvat gem is required and ActiveModel is already loaded, everything will work fine out of the box. If your load order differs just add
205
-
206
- ```ruby
207
- require 'active_model/validations/valvat_validator'
208
- ```
209
-
210
- after ActiveModel has been loaded.
211
-
212
- ### Simple syntax validation
213
-
214
- To validate the attribute `vat_number` add this to your model:
215
-
216
- ```ruby
217
- class MyModel < ActiveRecord::Base
218
- validates :vat_number, valvat: true
219
- end
220
- ```
221
-
222
- ### Additional lookup validation
223
-
224
- To additionally perform an lookup via VIES:
225
-
226
- ```ruby
227
- validates :vat_number, valvat: { lookup: true }
228
- ```
229
-
230
- To also perform an lookup via HMRC for UK VAT numbers:
231
-
232
- ```ruby
233
- validates :vat_number, valvat: { lookup: { uk: true } }
234
- ```
235
-
236
- By default this will validate to true if the web service is down. To fail in this case simply add the `:fail_if_down` option:
237
-
238
- ```ruby
239
- validates :vat_number, valvat: { lookup: { fail_if_down: true } }
240
- ```
241
-
242
- You can pass in any options accepted by `Valvat::Lookup#validate`:
243
-
244
- ```ruby
245
- validates :vat_number, valvat: { lookup: { raise_error: true, http: { read_timeout: 12 } } }
246
- ```
247
-
248
- ### Additional (and experimental) checksum validation
249
-
250
- To additionally perform a checksum validation:
251
-
252
- ```ruby
253
- validates :vat_number, valvat: { checksum: true }
254
- ```
255
-
256
- ### Additional ISO country code validation
257
-
258
- If you want the vat number’s (ISO) country to match another country attribute, use the _match_country_ option:
259
-
260
- ```ruby
261
- validates :vat_number, valvat: { match_country: :country }
262
- ```
263
-
264
- where it is supposed that your model has a method named _country_ which returns the country ISO code you want to match.
265
-
266
- ### Allow blank
267
-
268
- By default blank vat numbers validate to false. To change this add the `:allow_blank` option:
269
-
270
- ```ruby
271
- validates :vat_number, valvat: { allow_blank: true }
272
- ```
273
-
274
- ### Allow vat numbers outside of europe
275
-
276
- To allow vat numbers from outside of europe, add something like this to your model (country_code should return a upcase ISO country code):
277
-
278
- ```ruby
279
- class MyModel < ActiveRecord::Base
280
- validates :vat_number, valvat: true, if: :eu?
281
-
282
- def eu?
283
- Valvat::Utils::EU_MEMBER_STATES.include?(country_code)
284
- end
285
- end
286
- ```
287
-
288
- ## Utilities
289
-
290
- To split a vat number into the country code and the remaining chars:
291
-
292
- ```ruby
293
- Valvat::Utils.split("ATU345789003")
294
- # => ["AT", "U345789003"]
295
- ```
296
-
297
- or
298
-
299
- ```ruby
300
- Valvat.new("ATU345789003").to_a
301
- # => ["AT", "U345789003"]
302
- ```
303
-
304
- Both methods always return an array. If it can not detect the country or the given country is located outside of europe it returns `[nil, nil]`. Please note that this does not strictly return the ISO country code: for greek vat numbers this returns the ISO language code 'EL' instead of the ISO country code 'GR'.
305
-
306
- To extract the ISO country code of a given vat number:
307
-
308
- ```ruby
309
- Valvat.new("EL7345789003").iso_country_code
310
- # => "GR"
311
- ```
312
-
313
- To extract the vat country code (first two chars in every european vat number):
314
-
315
- ```ruby
316
- Valvat.new("EL7345789003").vat_country_code
317
- # => "EL"
318
- ```
319
-
320
- To normalize a vat number:
321
-
322
- ```ruby
323
- Valvat::Utils.normalize("atu345789003")
324
- # => "ATU345789003"
325
- ```
326
-
327
- This basically just removes trailing spaces and ensures all chars are uppercase.
328
-
329
- ## Usage with IPv6
330
-
331
- There seems to be a problem when using the VIES service over IPv6. Sadly this is nothing this gem can address. For details and proposed solutions have a look at [this question on StackOverflow](http://stackoverflow.com/questions/15616833/vies-vat-api-soap-error-ipv6). Thanks to George Palmer for bringing up this issue.
332
-
333
- ## Links
334
-
335
- * [VIES web service](http://ec.europa.eu/taxation_customs/vies)
336
- * [HMRC web service](https://developer.service.hmrc.gov.uk/api-documentation/docs/api/service/vat-registered-companies-api/1.0)
337
- * [European vat number formats (german)](http://bzst.de/DE/Steuern_International/USt_Identifikationsnummer/Merkblaetter/Aufbau_USt_IdNr.html)
338
- * [European vat number formats on Wikipedia](http://en.wikipedia.org/wiki/European_Union_Value_Added_Tax)
339
-
340
- ## Contributions by
341
-
342
- https://github.com/yolk/valvat/graphs/contributors
343
-
344
- ## BlaBla
345
-
346
- Copyright (c) 2011-2023 mite GmbH
347
-
348
- Beyond that, the implementation is licensed under the MIT License.
349
-
350
- Code was originally extracted from our time tracking webapp [mite](https://mite.de/en/).
data/Rakefile DELETED
@@ -1,10 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'bundler'
4
- Bundler::GemHelper.install_tasks
5
-
6
- require 'rspec/core/rake_task'
7
-
8
- RSpec::Core::RakeTask.new(:spec)
9
-
10
- task default: :spec
data/certs/mite.pem DELETED
@@ -1,26 +0,0 @@
1
- -----BEGIN CERTIFICATE-----
2
- MIIEbDCCAtSgAwIBAgIBATANBgkqhkiG9w0BAQsFADA+MRIwEAYDVQQDDAlzZWJh
3
- c3RpYW4xFDASBgoJkiaJk/IsZAEZFgRtaXRlMRIwEAYKCZImiZPyLGQBGRYCZGUw
4
- HhcNMjMwNDE5MDkxMzEyWhcNMjQwNDE4MDkxMzEyWjA+MRIwEAYDVQQDDAlzZWJh
5
- c3RpYW4xFDASBgoJkiaJk/IsZAEZFgRtaXRlMRIwEAYKCZImiZPyLGQBGRYCZGUw
6
- ggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQDAWAF/CaDp0cmY7Q2vAqVn
7
- TpB3xmKKPNfF1Bh9X3P9pKRBl2iCW+JmqIV+J5Yts9mB+OYKfxjJM7mmQwT8DMf2
8
- KwYIVISGKooRyXPgGgKepYfSfemizey6soCoejIIEHczsRk/FeKcvwlFrqMymBrF
9
- QP5XhnF0TEQvg/sG97wt8hHH7FwcNn+m8I88abP7ygVMNNOL18EiPd2b/WqalGp0
10
- aiN/CyGtJdA766QY/wgeYVEHNszzJ3DD7AYy8PWAwouIqmAmdDx7oHu01yyilIHL
11
- W1l5fqko8TQ3UZjfQBDn4mwUgXT829E7dtQB5O0pkwB2lSY4L2azuC69nVBv7TsB
12
- nBBCTKqr4JknuMJ1nwoGmOfgVqhmsuiGtMyabtagPg1DUpoXMYuf/PbhmSsgedgH
13
- j2nCnREKxACA/A1pG3HyDhYqkeb7VA4M1Fx4s1wHXKZw/pmxCxCbB/w34wwV2OUh
14
- fOtjTuX5/o5Tza2dIeBaENs8xMjqIX6DshtWbrJwyacCAwEAAaN1MHMwCQYDVR0T
15
- BAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFLjadA9ioIK4kItaOGJOhPYM/dVJ
16
- MBwGA1UdEQQVMBOBEXNlYmFzdGlhbkBtaXRlLmRlMBwGA1UdEgQVMBOBEXNlYmFz
17
- dGlhbkBtaXRlLmRlMA0GCSqGSIb3DQEBCwUAA4IBgQCQtG2K4dDwQhBkCpSgP8sC
18
- rc8v5siwMa306nG9Bs3c+KbVI8xJM8APqG8y+DUGzx0i+AIE9g5i2c7H9rwXSA9t
19
- BRTXZ6O7Hjmkn4pUC8Yc2ylNgP9pdpYxqwe6ZVah8DdGW7m/dQwSisKtO+0XFwB8
20
- rJmI29qalNK4bzk+DOW9pMdIfIHsbFU7pzTcFBux/MzIqQO24A+zcdYIz7MHBucF
21
- 85qF319BKW5/HgZMgxm26obTKJFEMDODYlNmm5ywvQCHSCyJ1yW/IFiCpqhiLm5w
22
- R8JZvYWO38fAsYF3VowUCmsqOBdaQo+L3aA/NVmhNeh4LddJwjrqY+Duw2Gz+DdP
23
- VyquPzH92Wc7Etd50IFILEkNV2VvRctuyY5/TAWoLKI9RQGYpKxd4jqZRtZFfODY
24
- O1ARwPz8pN+xIvxo8ex8Hz1sazm/iFgVBwHgaI3O3ctK7vF4+fAu6dlLcbEpij9z
25
- 4QlUng62OJRSBV/ejaTTItcAOXBeh028ZFWC0QQR4r0=
26
- -----END CERTIFICATE-----
@@ -1,8 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'activemodel', '~> 5.0'
4
- gem 'rake'
5
- gem 'rspec', '~> 3.0'
6
- gem 'webmock', '~> 3.0'
7
-
8
- gemspec path: '../'
@@ -1,8 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'activemodel', '~> 6.0'
4
- gem 'rake'
5
- gem 'rspec', '~> 3.0'
6
- gem 'webmock', '~> 3.0'
7
-
8
- gemspec path: '../'
@@ -1,8 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'activemodel', '~> 7.0'
4
- gem 'rake'
5
- gem 'rspec', '~> 3.0'
6
- gem 'webmock', '~> 3.0'
7
-
8
- gemspec path: '../'
data/gemfiles/standalone DELETED
@@ -1,7 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'rake'
4
- gem 'rspec', '~> 3.0'
5
- gem 'webmock', '~> 3.0'
6
-
7
- gemspec path: '../'
@@ -1,34 +0,0 @@
1
- bg:
2
- errors:
3
- messages:
4
- invalid_vat: не е валиден %{country_adjective} ДДС номер
5
- valvat:
6
- country_adjectives:
7
- eu: европейски
8
- at: австрийски
9
- be: белгийски
10
- bg: български
11
- cy: кипърски
12
- cz: чешки
13
- de: германски
14
- dk: датски
15
- ee: естонски
16
- es: испански
17
- fi: финландски
18
- fr: френски
19
- gb: британски
20
- gr: гръцки
21
- hu: унгарски
22
- ie: ирландски
23
- it: италиански
24
- lt: литовски
25
- lu: люксембургски
26
- lv: латвийски
27
- mt: малтийски
28
- nl: холандски
29
- pl: полски
30
- pt: португалски
31
- ro: румънски
32
- se: шведски
33
- si: словенски
34
- sk: словашки
@@ -1,34 +0,0 @@
1
- ca:
2
- errors:
3
- messages:
4
- invalid_vat: no és un número d'IVA intracomunitari %{country_adjective} vàlid
5
- valvat:
6
- country_adjectives:
7
- eu: europeu
8
- at: austríac
9
- be: belga
10
- bg: búlgar
11
- cy: xipriota
12
- cz: txec
13
- de: alemany
14
- dk: danès
15
- ee: estoni
16
- es: espanyol
17
- fi: finlandés
18
- fr: francès
19
- gb: britànic
20
- gr: grec
21
- hu: hungarès
22
- ie: irlandès
23
- it: italià
24
- lt: lituà
25
- lu: luxemburguès
26
- lv: letó
27
- mt: maltès
28
- nl: holandès
29
- pl: polac
30
- pt: portuguès
31
- ro: rumanès
32
- se: suec
33
- si: eslovec
34
- sk: eslovac
@@ -1,34 +0,0 @@
1
- cs:
2
- errors:
3
- messages:
4
- invalid_vat: "není platné %{country_adjective} DIČ"
5
- valvat:
6
- country_adjectives:
7
- eu: evropské
8
- at: rakouské
9
- be: belgické
10
- bg: bulharské
11
- cy: kyperské
12
- cz: české
13
- de: německé
14
- dk: dánské
15
- ee: estonské
16
- es: španělské
17
- fi: finské
18
- fr: francouzské
19
- gb: britské
20
- gr: řecké
21
- hu: maďarské
22
- ie: irské
23
- it: italské
24
- lt: litevské
25
- lu: lucemburské
26
- lv: lotyšské
27
- mt: maltské
28
- nl: nizozemské
29
- pl: polské
30
- pt: portugalské
31
- ro: rumunské
32
- se: švédské
33
- si: slovinské
34
- sk: slovenské
@@ -1,34 +0,0 @@
1
- da:
2
- errors:
3
- messages:
4
- invalid_vat: Er ikke et gyldigt %{country_adjective} moms-nummer
5
- valvat:
6
- country_adjectives:
7
- eu: Europæisk
8
- at: Østrigsk
9
- be: Belgisk
10
- bg: Bulgarsk
11
- cy: Cypriotisk
12
- cz: Tjekkisk
13
- de: Tysk
14
- dk: Dansk
15
- ee: Estisk
16
- es: Spansk
17
- fi: Finsk
18
- fr: Fransk
19
- gb: Engelsk
20
- gr: Græsk
21
- hu: Ungarsk
22
- ie: Irsk
23
- it: Italiensk
24
- lt: Litauisk
25
- lu: Luxembourgsk
26
- lv: Lettisk
27
- mt: Maltesisk
28
- nl: Nederlandsk
29
- pl: Polsk
30
- pt: Portugisisk
31
- ro: Rumænsk
32
- se: Svensk
33
- si: Slovensk
34
- sk: Slovakisk
@@ -1,35 +0,0 @@
1
- de:
2
- errors:
3
- messages:
4
- invalid_vat: "ist keine gültige %{country_adjective} USt-IdNr."
5
- vies_down: "Die USt-IdNr. kann nicht überprüft werden: der VIES-Webservice ist nicht verfügbar. Bitte später noch einmal versuchen."
6
- valvat:
7
- country_adjectives:
8
- eu: europäische
9
- at: österreichische
10
- be: belgische
11
- bg: bulgarische
12
- cy: zypriotische
13
- cz: tschechische
14
- de: deutsche
15
- dk: dänische
16
- ee: estnische
17
- es: spanische
18
- fi: finnische
19
- fr: französische
20
- gb: britische
21
- gr: griechische
22
- hu: ungarische
23
- ie: irische
24
- it: italienische
25
- lt: litauische
26
- lu: luxemburgische
27
- lv: lettische
28
- mt: maltesische
29
- nl: niederländische
30
- pl: polnische
31
- pt: portugiesische
32
- ro: rumänische
33
- se: schwedische
34
- si: slowenische
35
- sk: slowakische
@@ -1,35 +0,0 @@
1
- en:
2
- errors:
3
- messages:
4
- invalid_vat: "is not a valid %{country_adjective} VAT number"
5
- vies_down: "Unable to validate your VAT number: the VIES service is down. Please try again later."
6
- valvat:
7
- country_adjectives:
8
- eu: European
9
- at: Austrian
10
- be: Belgian
11
- bg: Bulgarian
12
- cy: Cypriot
13
- cz: Czech
14
- de: German
15
- dk: Danish
16
- ee: Estonian
17
- es: Spanish
18
- fi: Finnish
19
- fr: French
20
- gb: British
21
- gr: Greek
22
- hu: Hungarian
23
- ie: Irish
24
- it: Italian
25
- lt: Lithuanian
26
- lu: Luxembourgian
27
- lv: Latvian
28
- mt: Maltese
29
- nl: Dutch
30
- pl: Polish
31
- pt: Portuguese
32
- ro: Romanian
33
- se: Swedish
34
- si: Slovenian
35
- sk: Slovakian
@@ -1,35 +0,0 @@
1
- es:
2
- errors:
3
- messages:
4
- invalid_vat: no es un número de IVA intracomunitario %{country_adjective} válido
5
- vies_down: "No se ha podido validar su número de IVA: El servicio VIES no está disponible, por favor inténtelo más tarde."
6
- valvat:
7
- country_adjectives:
8
- eu: europeo
9
- at: austriaco
10
- be: belga
11
- bg: búlgaro
12
- cy: chipriota
13
- cz: checo
14
- de: alemán
15
- dk: danés
16
- ee: estonio
17
- es: español
18
- fi: finlandés
19
- fr: francés
20
- gb: británico
21
- gr: griego
22
- hu: húngaro
23
- ie: irlandés
24
- it: italiano
25
- lt: lituano
26
- lu: luxemburgués
27
- lv: letón
28
- mt: maltés
29
- nl: holandés
30
- pl: polaco
31
- pt: portugués
32
- ro: rumano
33
- se: sueco
34
- si: esloveno
35
- sk: eslovaco