Peppol BIS Billing 3.0.21 · UBL

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

Peppol BIS Billing 3.0.21 · UBL

fatalformat

Original rule text

[PEPPOL-EN16931-R111]-End date of line period MUST be within invoice period.

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

PEPPOL-EN16931-R111 is a fatal rule in the format layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected.

What this rule requires

The rule compares the end date of the line period (cac:InvoiceLine/cac:InvoicePeriod/cbc:EndDate for invoices, cac:CreditNoteLine/cac:InvoicePeriod/cbc:EndDate for credit notes) with the invoice period end date (cac:InvoicePeriod/cbc:EndDate). The line period end date must be on or before the invoice period end date, as tested by xs:date(text()) <= xs:date(../../../cac:InvoicePeriod/cbc:EndDate). A document is rejected when any line period end date is later than the invoice period end date.

How to fix

Change the line period end date to a date on or before the invoice period end date. In the producing system, ensure that when generating line periods, their end date is not set after the invoice period end date.

Guidance on this rule. The original text above is authoritative.

Where to go next

No published Peppol BIS Billing UBL release comparison lists a change to PEPPOL-EN16931-R111.

Validate an invoice against these rules · All release changes