IBR-TDD-51

[ibr-tdd-51] The element /pxs:TaxData/pxs:ReportedTransaction/pxs:ReportedDocument/cac:TaxTotal MUST contain only cbc:TaxAmount (ibt-110 or ibt-111). No other element is allowed

About

ID
ibr-tdd-51
Flag
fatal
Context
/pxs:TaxData/pxs:ReportedTransaction/pxs:ReportedDocument/cac:TaxTotal
Test
every $child in ('RoundingAmount', 'TaxEvidenceIndicator', 'TaxIncludedIndicator', 'TaxSubtotal') satisfies count (*[local-name(.) = $child]) = 0