PintLint

Rules / IBR-026

IBR-026 error

Each Invoice line

Each Invoice line (ibg-25) must contain the Item net price (ibt-146).

Fails

<cac:InvoiceLine>
  <!-- cbc:PriceAmount is missing -->
</cac:InvoiceLine>

Fix

Add cbc:PriceAmount inside cac:InvoiceLine.

Schematron
Context
cac:InvoiceLine | cac:CreditNoteLine
Test
exists(cac:Price/cbc:PriceAmount)

Official text: Each Invoice line (ibg-25) MUST contain the Item net price (ibt-146).

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

Check an invoice