PintLint

Rules / IBR-010

IBR-010 error

An Invoice must contain the Buyer postal address

An Invoice must contain the Buyer postal address (ibg-08).

Fails

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

Fix

Add cac:PostalAddress inside Invoice.

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

Official text: An Invoice MUST contain the Buyer postal address (ibg-08).

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

Check an invoice