PintLint

Rules / IBR-086

IBR-086 error

End date of line period

End date of line period (ibt-135) must be within invoice period (ibg-14).

Fails when this is false

(cbc:EndDate <= xs:date(../../cac:InvoicePeriod/cbc:EndDate)) or not(cbc:EndDate) or not(../../cac:InvoicePeriod/cbc:EndDate)

The schematron test, verbatim. Context: cac:InvoiceLine/cac:InvoicePeriod | cac:CreditNoteLine/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