IBR-TDD-42

[ibr-tdd-42] The Seller tax identifier group (cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme) MUST be present once, or twice when one group has the tax scheme VAT (ibt-031) and the other group has another tax scheme (ibt-032). It may be omitted when the Invoice type code (ibt-003) is 'Out of scope of VAT' (480) or 'Credit note related to goods or services' (81). Found in

About

ID
ibr-tdd-42
Flag
fatal
Context
/pxs:TaxData/pxs:ReportedTransaction/pxs:ReportedDocument/cac:AccountingSupplierParty/cac:Party
Test
$ptsCount = 1 or ($ptsCount = 2 and count(cac:PartyTaxScheme[normalize-space(cac:TaxScheme/cbc:ID) = 'VAT']) = 1) or ($ptsCount = 0 and $isOutOfScope)
Rules
  • IBR-TDD-42 [ibr-tdd-42] The Seller tax identifier group (cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme) MUST be present once, or twice when one group has the tax scheme VAT (ibt-031) and the other group has another tax scheme (ibt-032). It may be omitted when the Invoice type code (ibt-003) is 'Out of scope of VAT' (480) or 'Credit note related to goods or services' (81). Found in
Syntax binding