Overview
P_1 is the invoice issue date ("data wystawienia" in Polish). It is a required field inside the Fa section of the FA(3) XML and records the calendar date on which the invoice is issued. The value must be a valid ISO 8601 date in the form YYYY-MM-DD — for example, 2026-10-12 for 12 October 2026.
What P_1 is (and is not)
P_1 is not the same as DataWytworzeniaFa. DataWytworzeniaFa lives in the Naglowek (header) and records the exact moment the XML document was generated, typically an ISO 8601 timestamp such as 2026-10-12T07:23:07Z. P_1, in contrast, is the business date of the invoice. The two usually fall on the same day, but they describe different things, and mixing them up is a common integration bug.
Three practical rules. First, send P_1 as a date, never as a timestamp. Second, put the date on which the invoice is actually issued. The deadline for issuing an invoice relative to the supply or the payment is set by the VAT Act, not by the schema; if you are unsure, confirm it with your accountant. Third, keep P_1 stable together with P_2 (the invoice number) so invoices sort and archive consistently.
Timezone edge cases
There is no timezone in P_1, and that is deliberate. You send only the date. The catch is on your side: if your servers run in UTC, compute the date in Polish local time (Europe/Warsaw) before formatting it. Otherwise an invoice issued just after midnight in Poland can carry the previous day's date. The one place in the document where a timestamp appears is DataWytworzeniaFa; P_1 stays a plain date.
Where P_1 appears downstream
After the invoice is accepted, the KSeF verification QR code link carries P_1 in the DD-MM-YYYY form, and the Notaly PDF prints it in the invoice header. Because the date is part of the verification link and not only a display value, a correct P_1 matters even after the invoice leaves your system.
Common mistakes
- Sending a timestamp instead of a date.
- Using the localised Polish format (12.10.2026) instead of ISO 8601.
- Copying DataWytworzeniaFa into P_1 without converting it to a date.
- Leaving P_1 empty because the invoice "will be dated later".
All four cause a validation error. The Notaly API checks the issueDate format on the way in, so a bad value is rejected with a 422 before anything is sent and does not consume one of your three free sandbox invoices.
<P_1>2026-10-12</P_1>This snippet shows only the field(s) on this page. Mandatory FA(3) sections (Nagłówek, Podmiot1, Podmiot2, the remaining Fa fields, Adnotacje, RodzajFaktury and at least one FaWiersz) are omitted for brevity. It is not a complete or valid invoice on its own.
Sources
Source: crd.gov.pl