PintLint

Rules / IBR-019

IBR-019 error

The Seller tax representative postal address

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>
  <!-- cac:PostalAddress is missing -->
</cac:TaxRepresentativeParty>

Fix

Add cac:PostalAddress inside 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 an invoice