VRBL-INV-CORE-549

Basic Info

Rule When Seller Tax Scheme ID is 'VAT', the allowed maximum number of characters for the Seller Tax ID is 25.
Context /ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID
Pattern vrbl-invoice-core
Severity fatal

Used Template: MaximumStringLength

Parameter Value
probe = .
length = 25

Implementation

(
	not(../cac:TaxScheme/cbc:ID = 'VAT')
)
or
(
	string-length(normalize-space(.)) <= 25
)