Rules / IBR-178-AE
Tax scheme code, if provided in shall not be 'VAT' when Seller tax registration identifier is provided
Tax scheme code, if provided in (IBT-031-1) shall not be 'VAT' when Seller tax registration identifier (IBT-032) is provided.
Fails when this is false
(count(cac:PartyTaxScheme) = 2 and count(cac:PartyTaxScheme[cac:TaxScheme/cbc:ID = "VAT"]) = 1) or count(cac:PartyTaxScheme) < 2The schematron test, verbatim. Context: cac:AccountingSupplierParty/cac:Party
Fix
Change the data so the condition below holds. It reads cac:PartyTaxScheme, cbc:ID. Paste the invoice into the validator to see the exact element that fails.