BR-30FelEN 16931 (CEN)
Radens period 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 en fakturarad har både startdatum (BT-134) och slutdatum (BT-135) för perioden måste slutdatumet vara samma dag eller senare än startdatumet. Exempel: 2026-09-01 till 2026-09-30 är giltigt, men 2026-09-30 till 2026-09-01 är inte det.
Så rättar du felet
Rätta periodens datum på fakturaraden. Kontrollera särskilt att datumen inte har blivit omkastade eller att fel år har angetts.
Officiell regeltext
If both Invoice line period start date (BT-134) and Invoice line period end date (BT-135) are given then the Invoice line period end date (BT-135) shall be later or equal to the Invoice line period start date (BT-134).Teknisk kontroll (XPath)
- Kontext – där regeln kontrolleras
- cac:InvoiceLine/cac:InvoicePeriod | cac:CreditNoteLine/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.