PintLint

Rules / IBR-021

Each Invoice line must have an Invoice line identifier

Each Invoice line (ibg-25) must have an Invoice line identifier (ibt-126).

Fails

<cac:InvoiceLine>
  <!-- no cbc:ID -->
</cac:InvoiceLine>

Fix

Add cbc:ID to cac:InvoiceLine.

Schematron
Context
cac:InvoiceLine | cac:CreditNoteLine
Test
normalize-space(cbc:ID) != ''

Official text: Each Invoice line (ibg-25) MUST have an Invoice line identifier (ibt-126).

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

Check your invoice for this rule