Rules
VRBL-INV-TR-1p2-80
Basic Info
| Rule | The Seller Tax ID must consist of 10 digits if it represents a VKN, or 11 digits if it represents a TCKN. |
| Context |
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID
|
| Pattern | vrbl-invoice-tr-1p2 |
| Severity | fatal |
Implementation
(string-length(.)=10 or string-length(.)=11) and translate(., $Numerics, '')=''