EN 16931 core rules (BR)Error

BR-29 Invoicing period ends before it starts

What BR-29 means

If the invoicing period (BG-14) has a start date (BT-73) and an end date (BT-74), the end date must be the same as or later than the start date.

Error: the invoice is not valid until this is fixed.

Common causes

  • Start and end date were swapped.
  • A date was entered with day and month mixed up.

How to fix BR-29

  1. Check both dates of the invoicing period and put them in the right order.
  2. Create the invoice again and check the new file.

Where the fields are in the XML

  • BG-14 Invoicing period

    UBL
    cac:InvoicePeriod
    CII
    ram:ApplicableHeaderTradeSettlement/ram:BillingSpecifiedPeriod
  • BT-73 Invoicing period start date

    UBL
    cac:InvoicePeriod/cbc:StartDate
    CII
    ram:ApplicableHeaderTradeSettlement/ram:BillingSpecifiedPeriod/ram:StartDateTime/udt:DateTimeString
  • BT-74 Invoicing period end date

    UBL
    cac:InvoicePeriod/cbc:EndDate
    CII
    ram:ApplicableHeaderTradeSettlement/ram:BillingSpecifiedPeriod/ram:EndDateTime/udt:DateTimeString

UBL paths start below the Invoice element. CII paths start below rsm:SupplyChainTradeTransaction unless they begin with rsm:.

Based on the EN 16931 business rules (CEN/TC 434) and the XRechnung 3.0 rules published by KoSIT. This page explains the rules in plain language and is not legal or tax advice.