e-Factura validator

All error codes › PEPPOL-EN16931-R111

PEPPOL-EN16931-R111 – End date of line period MUST be within invoice period

ErrorpeppolPeppol only

What the rule says

End date of line period MUST be within invoice period.

How to fix it

Fill in or correct the fields named in the rule (the BT/BG codes tell you which). The test below shows exactly what is checked in the XML. Quickest: validate the invoice to get the exact location and, for amounts, the correct value.

Check your invoice for free

Paste the XML and see every error with the exact fix and the correct amounts.

Where it is checked in the XML

Context: ubl-invoice:Invoice[cac:InvoicePeriod/cbc:EndDate]/cac:InvoiceLine/cac:InvoicePeriod/cbc:EndDate | ubl-creditnote:CreditNote[cac:InvoicePeriod/cbc:EndDate]/cac:CreditNoteLine/cac:InvoicePeriod/cbc:EndDate

Test (XPath):

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

Related rules