PintLint

Rules / IBR-008

IBR-008 error

An Invoice must contain the Seller postal address

An Invoice must contain the Seller postal address (ibg-05).

Fails

<Invoice>
  <!-- cac:PostalAddress is missing -->
</Invoice>

Fix

Add cac:PostalAddress inside Invoice.

Schematron
Context
/ubl:Invoice | /cn:CreditNote
Test
exists(cac:AccountingSupplierParty/cac:Party/cac:PostalAddress)

Official text: An Invoice MUST contain the Seller postal address (ibg-05).

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

Check an invoice