Hoppa till innehållet
Fakturaguru
BR-29FelEN 16931 (CEN)

Faktureringsperioden slutar före startdatum

Ett fel betyder att fakturan inte uppfyller reglerna. Den avvisas normalt när den skickas via Peppol.

Vad regeln betyder

Om fakturan har både startdatum (BT-73) och slutdatum (BT-74) för faktureringsperioden måste slutdatumet vara samma dag eller senare än startdatumet. Exempel: 2026-09-01 till 2026-09-30 är giltigt.

Så rättar du felet

Rätta faktureringsperiodens datum på fakturan. Kontrollera att datumen inte har blivit omkastade eller att fel år har angetts.

Officiell regeltext

If both Invoicing period start date (BT-73) and Invoicing period end date (BT-74) are given then the Invoicing period end date (BT-74) shall be later or equal to the Invoicing period start date (BT-73).
Teknisk kontroll (XPath)
Kontext – där regeln kontrolleras
cac:InvoicePeriod
Test – måste vara sant, annars visas felet
(exists(cbc:EndDate) and exists(cbc:StartDate) and xs:date(cbc:EndDate) >= xs:date(cbc:StartDate)) or not(exists(cbc:StartDate)) or not(exists(cbc:EndDate))

Källa: Peppol BIS Billing 3.0.21 · EN 16931 1.3.16.

Begrepp i regeln