PintLint

Rules / IBR-029

IBR-029 error

If both Invoicing period start date

If both Invoicing period start date (ibt-073) and Invoicing period end date (ibt-074) are given then the Invoicing period end date (ibt-074) must be later or equal to the Invoicing period start date (ibt-073).

Fails when this is false

(exists(cbc:EndDate) and exists(cbc:StartDate) and xs:date(cbc:EndDate) >= xs:date(cbc:StartDate)) or not(exists(cbc:StartDate)) or not(exists(cbc:EndDate))

The schematron test, verbatim. Context: cac:InvoicePeriod

Fix

Change the data so the statement above is true. Paste the invoice into the validator to see the exact element that fails.

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

Check an invoice