PEPPOL-EN16931-R111

A line period's end date may not fall after the end of the invoicing period — the counterpart to R110 at the other end.

Severity
Error
Applies to
CII, UBL
Rule set
v2026-01-31

Official rule text

End date of line period MUST be within invoice period.

Why does PEPPOL-EN16931-R111 happen?

Prepaid services run past the end of the invoice: an annual licence is billed in August and ends the following July, while the invoicing period covers August.

How do you fix PEPPOL-EN16931-R111?

Set the invoicing period so it encloses the longest line, or drop the header period altogether where the lines carry their own. What is compared is the line's cbc:EndDate against the header's cbc:EndDate.

In the XML

A UBL fragment. The CII path is named above — same change, different element names.

Fails
<cac:InvoicePeriod>
  <cbc:StartDate>2026-08-01</cbc:StartDate>
  <cbc:EndDate>2026-08-31</cbc:EndDate>
</cac:InvoicePeriod>
<cac:InvoiceLine>
  <cbc:ID>1</cbc:ID>
  <cac:InvoicePeriod>
    <cbc:EndDate>2027-07-31</cbc:EndDate>
  </cac:InvoicePeriod>
</cac:InvoiceLine>
Fixed
<cac:InvoicePeriod>
  <cbc:StartDate>2026-08-01</cbc:StartDate>
  <cbc:EndDate>2027-07-31</cbc:EndDate>
</cac:InvoicePeriod>
<cac:InvoiceLine>
  <cbc:ID>1</cbc:ID>
  <cac:InvoicePeriod>
    <cbc:EndDate>2027-07-31</cbc:EndDate>
  </cac:InvoicePeriod>
</cac:InvoiceLine>

NormAPI provides technical validation, not tax or legal advice.