From e04ac055aa68c99c013072a32021e227062bf947 Mon Sep 17 00:00:00 2001 From: Danny van Kooten Date: Thu, 2 Nov 2023 10:21:33 +0100 Subject: [PATCH] BE vat number should start with 0 or 1, then 9 digits. closes #62 --- src/Validator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Validator.php b/src/Validator.php index c7a92d0..d276ba9 100644 --- a/src/Validator.php +++ b/src/Validator.php @@ -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}',