PintLint

Rules / IBR-003

IBR-003 error

An Invoice must have an Invoice issue date

An Invoice must have an Invoice issue date (ibt-002).

Fails

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

Fix

Add cbc:IssueDate inside Invoice.

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

Official text: An Invoice MUST have an Invoice issue date (ibt-002).

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

Check an invoice