Rules / IBR-030
IBR-030 error
If both Invoice line period start date
If both Invoice line period start date (ibt-134) and Invoice line period end date (ibt-135) are given then the Invoice line period end date (ibt-135) must be later or equal to the Invoice line period start date (ibt-134).
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: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.