Skip to content

Commit e04ac05

Browse files
BE vat number should start with 0 or 1, then 9 digits. closes #62
1 parent f1d5b3e commit e04ac05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Validator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Validator
1414
*/
1515
private $patterns = [
1616
'AT' => 'U[A-Z\d]{8}',
17-
'BE' => '(0\d{9}|\d{10})',
17+
'BE' => '(0|1)\d{9}',
1818
'BG' => '\d{9,10}',
1919
'CY' => '\d{8}[A-Z]',
2020
'CZ' => '\d{8,10}',

0 commit comments

Comments
 (0)