feat(main): Log VIES failures and support Northern Ireland VAT numbers

This commit is contained in:
2026-09-11 16:43:26 +02:00
parent 89fdc24210
commit fdc6c4eb56
2 changed files with 13 additions and 0 deletions
+2
View File
@@ -21,6 +21,7 @@ class VatNumber
'FR' => 'FR',
'FX' => 'FR',
'DE' => 'DE',
'GB' => 'XI',
'GR' => 'EL',
'IE' => 'IE',
'IT' => 'IT',
@@ -53,6 +54,7 @@ class VatNumber
'DE' => '\d{9}',
'DK' => '(\d{2} ?){3}\d{2}',
'EE' => '\d{9}',
'GB' => '\d{9}(\d{3})?|[A-Z]{2}\d{3}',
'GR' => '\d{9}',
'ES' => '[A-Z]\d{7}[A-Z]|\d{8}[A-Z]|[A-Z]\d{8}',
'FI' => '\d{8}',