PintLint

Rules / IBR-026

Each Invoice line must contain the Item net price

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

Fails

<cac:InvoiceLine>
  <!-- no cac:Price/cbc:PriceAmount -->
</cac:InvoiceLine>

Fix

Add cac:Price/cbc:PriceAmount to 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 your invoice for this rule