Start of the invoice line period

Error PEPPOL-EN16931-R110 Peppol

Start date of line period MUST be within invoice period.

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

The start of the invoice line period is before the start of the invoice period in the header. The test compares the line’s udt:DateTimeString with the header date and requires the line period to start no earlier.

What the rule means

An invoice line’s period must begin within the billing period stated in the invoice header. This keeps the line’s time coverage consistent with the invoice period.

Please keep the invoice line period from starting before the invoice period

An invoice line period starts before the invoice period stated in the header. You can resolve this by aligning the two start dates.

What to do
  1. Compare the invoice line’s ram:StartDateTime with ram:StartDateTime in the invoice header.
  2. Make sure the invoice line period does not start before the invoice period.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:BillingSpecifiedPeriod>
  <ram:StartDateTime>
    <udt:DateTimeString>2026-02-01</udt:DateTimeString>
  </ram:StartDateTime>
</ram:BillingSpecifiedPeriod>
<ram:BillingSpecifiedPeriod>
  <ram:StartDateTime>
    <udt:DateTimeString>2026-01-31</udt:DateTimeString>
  </ram:StartDateTime>
</ram:BillingSpecifiedPeriod>
✓ Correct
<ram:BillingSpecifiedPeriod>
  <ram:StartDateTime>
    <udt:DateTimeString>2026-02-01</udt:DateTimeString>
  </ram:StartDateTime>
</ram:BillingSpecifiedPeriod>
<ram:BillingSpecifiedPeriod>
  <ram:StartDateTime>
    <udt:DateTimeString>2026-02-01</udt:DateTimeString>
  </ram:StartDateTime>
</ram:BillingSpecifiedPeriod>
Technical details

The rule is evaluated for invoice lines when the invoice header contains a ram:StartDateTime. Under the XPath comparison, the line start value must be greater than or equal to the header start value.

Where the rule applies

The rule applies to ram:StartDateTime in the ram:BillingSpecifiedPeriod of an invoice line when the invoice header also has a ram:BillingSpecifiedPeriod with a start date.

Context (rule/@context)
rsm:SupplyChainTradeTransaction[ram:ApplicableHeaderTradeSettlement/ram:BillingSpecifiedPeriod/ ram:StartDateTime]/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ ram:BillingSpecifiedPeriod/ram:StartDateTime
Test expression (assert/@test)
udt:DateTimeString >= ../../../../ram:ApplicableHeaderTradeSettlement/ram:BillingSpecifiedPeriod/ ram:StartDateTime/udt:DateTimeString