Rules / IBR-133-AE
IBR-133-AE error
VAT scheme code, if provided in shall be 'VAT' except when Seller tax registration…
VAT scheme code, if provided in (IBT-095-1) or (IBT-031-1) or (IBT-048-1) or (IBT-063-1) or (IBT-102-1) or (IBT-118-1) shall be 'VAT' except when Seller tax registration identifier (IBT-032) is provided.
Fails when this is false
. = "VAT" or exists(//cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID[ string-length(normalize-space(.)) = 10 and starts-with(normalize-space(.), "1") and translate(normalize-space(.), "0123456789", "") = ""])The schematron test, verbatim. Context: cac:TaxScheme/cbc:ID
Fix
Change the data so the statement above is true. Paste the invoice into the validator to see the exact element that fails.