KSEF-007:Date format invalid
All dates in KSeF invoices must be in YYYY-MM-DD (ISO 8601) format. Other formats are rejected.
Engine Classification
Financial or legal field · Modification blocked by policy
Reason: Dates must be in YYYY-MM-DD (ISO 8601) format for KSeF. Automatic date format conversion is not safe due to ambiguity (e.g., 01/02/2024 could be January 2nd or February 1st). Configure your invoicing software to output dates in ISO 8601 format.
What is KSEF-007?
KSEF-007 is a fatal validation rule defined in the KSeF specification (POL national rules). It checks whether date format invalid.
When this rule fires, the invoice is non-compliant and will be rejected by Peppol access points and national validation services. The sending system receives a rejection response and the invoice does not reach the buyer.
Why This Error Matters
KSEF-007 is a hard failure. Invoices that trigger this rule are rejected at the access point and never reach the recipient. In Peppol networks, this means your sending system receives an MLR (Message Level Response) with a rejection status. The invoice must be corrected and re-sent, adding delay to your payment cycle.
Validator Behavior
- ·Causes invoice rejection
- ·Error returned: KSEF-007
- ·Specification: KSeF
How to Fix It
Technical Reference
Code Example
<DataWystawienia>2026-02-15</DataWystawienia>Common Causes
- ·Polish date format DD.MM.YYYY used
- ·Incorrect separator
- ·Software default format wrong
Seeing this in production? The API handles KSEF-007 automatically. See the fix response →
Frequently Asked Questions
All dates in KSeF invoices must be in YYYY-MM-DD (ISO 8601) format. Other formats are rejected.
Use ISO 8601 date format (YYYY-MM-DD). You can also use Invoice Navigator's automatic Fixer tool to correct this instantly.
Yes, KSEF-007 is a critical error that will cause invoice rejection. It must be fixed before submission to ensure your invoice is accepted by the recipient's system.
Many instances of KSEF-007 can be automatically corrected using Invoice Navigator's Fixer tool. Upload your invoice and the tool will identify and fix common issues, including date format invalid.
Last updated: 19 January 2026
Handle KSEF-007 Automatically in Your Pipeline
The compliance engine auto-remediates this error with controlled safety policies and evidence pack generation.