PintLint

Rules / IBR-007

An Invoice must contain the Buyer name

An Invoice must contain the Buyer name (ibt-044).

Fails

<!-- no cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName -->

Fix

Add cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName to the invoice.

Schematron
Context
/ubl:Invoice | /cn:CreditNote
Test
normalize-space(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName) !=''

Official text: An Invoice MUST contain the Buyer name (ibt-044).

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

Check your invoice for this rule