PintLint

Rules / IBR-010

An Invoice must contain the Buyer postal address

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

Fails

<!-- no cac:AccountingCustomerParty/cac:Party/cac:PostalAddress -->

Fix

Add cac:AccountingCustomerParty/cac:Party/cac:PostalAddress to the 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 your invoice for this rule