IBR-TDD-43

[ibr-tdd-43] The element /pxs:TaxData/pxs:ReportedTransaction/pxs:ReportedDocument/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme MUST contain only cbc:CompanyID (ibt-031 or ibt-032) and cac:TaxScheme, which carries the Tax scheme code in cbc:ID (ibt-031-1 for the Seller VAT identifier). No other element is allowed

About

ID
ibr-tdd-43
Flag
fatal
Context
/pxs:TaxData/pxs:ReportedTransaction/pxs:ReportedDocument/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme
Test
every $child in ('RegistrationName', 'TaxLevelCode', 'ExemptionReasonCode', 'ExemptionReason', 'RegistrationAddress') satisfies count (*[local-name(.) = $child]) = 0