PintLint

Rules / IBR-019

The Seller tax representative postal address must be provided in the Invoice, if the Seller has a Seller tax representative party

The Seller tax representative postal address (ibg-12) must be provided in the Invoice, if the Seller (ibg-04) has a Seller tax representative party (ibg-11).

Fails

<cac:TaxRepresentativeParty>
  <!-- no cac:PostalAddress -->
</cac:TaxRepresentativeParty>

Fix

Add cac:PostalAddress to cac:TaxRepresentativeParty.

Schematron
Context
cac:TaxRepresentativeParty
Test
exists(cac:PostalAddress)

Official text: The Seller tax representative postal address (ibg-12) MUST be provided in the Invoice, if the Seller (ibg-04) has a Seller tax representative party (ibg-11).

Official · PINT shared rules. Severity: error. Runs on UBL XML.

Check your invoice for this rule