IBR-TDD-49

[ibr-tdd-49] The element /pxs:TaxData/pxs:ReportedTransaction/pxs:ReportedDocument/cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme MUST contain only cbc:CompanyID (ibt-048) and cac:TaxScheme, which carries the Tax scheme code (ibt-048-1) in cbc:ID. No other element is allowed

About

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