PintLint

Rules / IBR-018

IBR-018 error

The Seller tax representative name

The Seller tax representative name (ibt-062) must be provided in the Invoice, if the Seller (ibg-04) has a Seller tax representative party (ibg-11).

Fails

<cac:TaxRepresentativeParty>
  <!-- cbc:Name is missing -->
</cac:TaxRepresentativeParty>

Fix

Add cbc:Name inside cac:TaxRepresentativeParty.

Schematron
Context
cac:TaxRepresentativeParty
Test
normalize-space(cac:PartyName/cbc:Name) != ''

Official text: The Seller tax representative name (ibt-062) 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