PintLint

Rules / IBR-006

IBR-006 error

An Invoice must contain the Seller name

An Invoice must contain the Seller name (ibt-027).

Fails

<Invoice>
  <!-- cbc:RegistrationName is missing -->
</Invoice>

Fix

Add cbc:RegistrationName inside Invoice.

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

Official text: An Invoice MUST contain the Seller name (ibt-027).

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

Check an invoice