Skip to content

Commit

Permalink
BE vat number should start with 0 or 1, then 9 digits. closes #62
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvankooten committed Nov 2, 2023
1 parent f1d5b3e commit e04ac05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Validator
*/
private $patterns = [
'AT' => 'U[A-Z\d]{8}',
'BE' => '(0\d{9}|\d{10})',
'BE' => '(0|1)\d{9}',
'BG' => '\d{9,10}',
'CY' => '\d{8}[A-Z]',
'CZ' => '\d{8,10}',
Expand Down

0 comments on commit e04ac05

Please sign in to comment.