lib/valvat/syntax.rb in valvat-1.3.0 vs lib/valvat/syntax.rb in valvat-1.4.0
- old
+ new
@@ -4,10 +4,10 @@
module Syntax
VAT_PATTERNS = {
'AT' => /\AATU[0-9]{8}\Z/, # Austria
'BE' => /\ABE[0-1][0-9]{9}\Z/, # Belgium
'BG' => /\ABG[0-9]{9,10}\Z/, # Bulgaria
- 'CY' => /\ACY(?!12)[0-59][0-9]{7}[A-Z]\Z/, # Cyprus
+ 'CY' => /\ACY(?!12)[0-69][0-9]{7}[A-Z]\Z/, # Cyprus
'CZ' => /\ACZ[0-9]{8,10}\Z/, # Czech Republic
'DE' => /\ADE[0-9]{9}\Z/, # Germany
'DK' => /\ADK[0-9]{8}\Z/, # Denmark
'EE' => /\AEE10[0-9]{7}\Z/, # Estonia
'GR' => /\AEL[0-9]{9}\Z/, # Greece