PintLint

Rules / IBR-001

IBR-001 error

An Invoice must have a Specification identifier

An Invoice must have a Specification identifier (ibt-024).

Fails

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

Fix

Add cbc:CustomizationID inside Invoice.

Schematron
Context
/ubl:Invoice | /cn:CreditNote
Test
normalize-space(cbc:CustomizationID) != ''

Official text: An Invoice MUST have a Specification identifier (ibt-024).

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

Check an invoice