e-invoicing in Poland
Regional spotlight
Formats? Mandates?
We've got you covered!
-
Overview of B2G, B2B and B2C e-invoicing in Poland. -
Key formats, networks and channels you may need to support. -
High-level regulatory and compliance considerations.
Poland uses KSeF (Krajowy System e-Faktur), the national e-invoicing system, as the centralised platform for all invoice traffic. Both domestic and cross-border invoices are reported to KSeF using the FA(3) structured invoice format defined by the Polish tax authority. For domestic B2B transactions, KSeF is the sole delivery channel — invoices are issued through KSeF, and KSeF handles delivery to the recipient. For cross-border invoicing, invoices are reported to KSeF and additionally sent via the Peppol network when full Peppol address details are provided.
Poland is currently supported only for selected partners. Please contact Maventa Support for more information on how to set this up with your ERP for Polish companies.
Polish company account registration
When registering a new Polish company via the API, the Polish VAT number must be used as the company identifier. At the moment, company registration requires the vendor to have KYC approval from Maventa. Contact Maventa support to get started.
| Identifier | Description | Format | Validation |
|---|---|---|---|
| VAT number | Polish VAT identifier (NIP) | PL1234567890 |
Structural validation and a check against VIES |
The VAT number must be found in VIES. Registration is rejected if the VAT number isn’t registered there, or if VIES can’t be reached at the time of registration. In that case, try again later.
KSeF authentication
For Maventa to send and receive invoices on behalf of a Polish company, the company must authorise access to its invoices in KSeF. There are two ways to do this:
- Permissions granted to the partner (recommended). The end customer grants the partner’s NIP the permissions to issue and view invoices in KSeF. Maventa then connects to KSeF with the partner’s KSeF certificate, on behalf of each end customer that has granted the permissions. No token is needed.
- KSeF token. The end customer generates a KSeF token, and the partner submits it to Maventa.
There is no separate registration step in KSeF. Every Polish company already exists in the system, so the end customer only needs to log in and either grant the permissions or generate a token.
The partner must first be registered as a trusted vendor with Maventa (part of the KYC approval described above). Contact Maventa Support to set this up.
Granting permissions to the partner
This option requires the partner to have a Polish NIP and a KSeF certificate set up with Maventa. Contact Maventa Support to set up the certificate.
Share these steps with your end customers:
- Log in to the KSeF 2.0 Taxpayer Application using the mObywatel app, e-ID, online banking, or a qualified electronic signature or seal.
- Grant permissions to the partner’s NIP: both wystawianie faktur (issuing invoices) and przeglądanie faktur (viewing invoices).
Once the permissions are active, invoices are sent and received automatically. The end customer doesn’t need to log in to KSeF for day-to-day operations, and nothing needs to be submitted to Maventa.
KSeF token validity
KSeF tokens don’t expire. A token can be used for authentication until the KSeF legislation changes, so an end customer who has already generated a token doesn’t need to replace it.
Submitting the token
Collect the KSeF token from each end customer and submit it to Maventa with POST /v1/services/ksef/tokens. Once the token is active, invoices are sent and received automatically — the end customer does not need to log in to the KSeF portal for day-to-day operations.
How an end customer generates a KSeF token
Share these steps with your end customers. The token is generated in the KSeF 2.0 Taxpayer Application. Logging in supports several methods: the mObywatel app, e-ID, online banking, a Trusted Profile (Profil Zaufany), or a qualified electronic signature or electronic seal.
Step-by-step: generating a KSeF authorisation token
- Log in to the KSeF 2.0 Taxpayer Application using the mObywatel app, e-ID, online banking, a Trusted Profile, or a qualified electronic signature or seal.
- Navigate to Tokens (Polish: Tokeny) in the side menu.
- Select the required permissions — both wystawianie faktur (issuing invoices) and przeglądanie faktur (viewing invoices).
-
Generate and copy the token. Copy the token value immediately after it appears — it may not be retrievable again. The value is a long string, for example
20260212-EC-1ECC3F2000.... -
Share the token securely with the partner through their software integration — never by email or another unencrypted channel. The partner submits it to Maventa via
POST /v1/services/ksef/tokens.
Sending in Poland
KSeF reporting and delivery
All invoices sent through Maventa for Polish companies are reported to KSeF in the FA(3) format — the official KSeF structured invoice schema, mandatory from 1 February 2026. Send Polish invoices to Maventa in FA(3) (see Formats you need to support). For each successfully submitted invoice, KSeF returns a UPO confirmation and the sender can download both the UPO and the cleared FA(3) document via the API.
Domestic invoices are routed exclusively to KSeF by Maventa — the sender does not need to take any additional steps. KSeF acts as the delivery platform and handles forwarding the invoice to the recipient. No other delivery channel is used for domestic traffic.
Cross-border invoices are reported to KSeF and additionally sent via the Peppol network — but only when the full Peppol address details are provided in the sending API metadata. This means the sending API metadata must include both recipient_eia (the recipient’s Peppol ID, for example 0216:003734782098) and recipient_operator=PEPPOL.
Invoices to consumers are reported to KSeF like other domestic invoices, but KSeF does not deliver invoices to consumers. Deliver them by rerouting the invoice to email or print, as described below.
Maventa sends invoices to KSeF at a pace that keeps each sender within KSeF’s rate limits, about 170 invoices per hour per sending company. Larger batches are queued and sent in order. If KSeF is unavailable, invoices are queued and sent when KSeF is back.
Every invoice that is successfully posted to KSeF gets the DELIVERED action, available via GET /v1/invoices/{id}/actions. The DELIVERED action’s channel_details.external_number field contains the KSeF ID.
If the full Peppol address details are not provided for a cross-border invoice, the invoice is reported to KSeF but is not delivered to the recipient via Peppol or any other channel. The invoice status shows as SENT because KSeF accepted it, even though the invoice has not actually reached the recipient. Maventa does not automatically reroute these invoices — the sender must manually reroute the invoice to email or print if these delivery channels are enabled for the sender account.
Email and print delivery
Email and postal delivery (printing) are available as additional delivery channels but are not applied automatically by Maventa. If an invoice needs to be delivered via email or print — for example when Peppol delivery was not possible or no Peppol address was provided — the sender must reroute the invoice to these channels manually. Printing is handled in Finland, and all postal deliveries are sent from Finland.
Under Polish law, an invoice issued in KSeF and delivered outside KSeF, for example as a PDF, by email or in print, must carry the KSeF verification QR code and the KSeF number.
UPO — official confirmation of receipt
For every invoice successfully submitted to KSeF, Maventa receives a UPO file (Urzędowe Poświadczenie Odbioru — Official Confirmation of Receipt). The UPO is issued by the Polish tax authority system and serves as formal proof that the invoice was received and registered by KSeF.
The UPO typically contains:
- Submission reference and request ID
- KSeF ID (the unique invoice number assigned by KSeF)
- Date and time of receipt
- Processing status (accepted or rejected)
- Sender details
- Hash and integrity reference
The KSeF ID is also available via GET /v1/invoices/{id}/actions in the field channel_details.external_number.
Downloading the UPO and cleared document
Both the UPO file and the CLEARED_DOCUMENT (the FA(3) file as submitted to KSeF) are listed in the files array of the GET /v1/invoices/{id} response. Each file entry includes an id, filename, type, and mimetype.
| File type | Description |
|---|---|
UPO |
Official Confirmation of Receipt from KSeF. Available only for sent invoices. |
CLEARED_DOCUMENT |
The FA(3) invoice file as registered with KSeF. Can be downloaded for bookkeeping or legal compliance purposes. |
To download a file, use GET /v1/invoices/{id}/files/{file_id} with the id from the file entry.
Why is the UPO important?
The UPO serves as legal evidence that the invoice was delivered to the official KSeF platform. It provides an audit trail for compliance, dispute resolution, and customer support. The UPO can be stored in ERP or invoice management systems as the official delivery confirmation for Polish invoices.
KSeF stores every invoice issued in it for 10 years from the end of the year of issue. While an invoice is stored in KSeF, the company does not need to archive it separately. Invoices that are not in KSeF, such as invoices received from foreign suppliers via Peppol, must be archived by the company under the normal Polish retention rules.
Receiving in Poland
For domestic traffic, invoices sent by other Polish companies arrive via KSeF. Maventa retrieves these invoices from KSeF every 4 hours and delivers them to the recipient’s Maventa account, where they can be downloaded. The KSeF number of a received invoice is available in the channel_details.external_number field of its actions. For international traffic, invoices can be received via the Peppol network or directly from other Maventa customers — this requires Peppol SMP registration (see below).
Received cross-border invoices are not currently reported to KSeF. KSeF is primarily the structured invoice system for invoices issued by entities in scope — especially domestic Polish transactions. Invoices from foreign suppliers typically remain outside KSeF unless the supplier has a Polish fixed establishment participating in the supply or voluntarily uses KSeF.
| Address Type | Description | Example address | Activation Requirement |
|---|---|---|---|
| Peppol address | Official identifier for the Peppol network. Uses the VAT number with scheme 9945. |
9945:PL3140678169 |
Created when the company registers to receive from Peppol |
KSeF number in payments from 1 January 2027
From 1 January 2027, payments between Polish VAT-registered companies must include the KSeF number of the paid invoice, or a KSeF collective identifier covering several invoices, in the payment title. Make the KSeF number of received invoices available in your payment workflow. You can read it from the channel_details.external_number field of the invoice actions.
Peppol SMP registration
To receive invoices via Peppol, a Polish company must first be registered in the SMP (Service Metadata Publisher). The SMP registration determines which document formats the company can receive over the Peppol network.
Peppol registration is available for Polish companies using the VAT number with scheme 9945 — for example 9945:PL3140678169.
The following document types are registered in the SMP:
Peppol BIS Billing 3.0 — Invoice
DocumentIdentifier
urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1
ProcessIdentifier
urn:fdc:peppol.eu:2017:poacc:billing:01:1.0
Peppol BIS Billing 3.0 — Credit Note
DocumentIdentifier
urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2::CreditNote##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1
ProcessIdentifier
urn:fdc:peppol.eu:2017:poacc:billing:01:1.0
Scanning
Scanning is available in Poland via the AutoScan solution.
For step-by-step instructions on enabling receiving, registering for Peppol, and setting up scanning, see the invoice receiving integration guide.
Formats you need to support
A Polish invoice carries data that a standard Peppol BIS invoice cannot fully represent, such as Polish VAT markings, the parties’ roles, and invoice details that KSeF requires.
To serve Polish customers, your integration must support FA(3). Peppol BIS Billing 3.0 alone is not enough: send invoices from Polish companies to Maventa in FA(3), and download invoices received from KSeF in FA(3) to get all the invoice data.
| Format | API format code | Notes |
|---|---|---|
| FA(3) | FA3 |
Polish national standard. Official KSeF structured invoice schema defined by the Polish tax authority, mandatory from 1 February 2026. Use it for sending and receiving. |
| Peppol BIS Billing 3.0 | PEPPOLBIS30 |
EN16931. Used for cross-border Peppol delivery alongside KSeF reporting. |
Use the format code as the return_format parameter when downloading a received invoice with GET /v1/invoices/{id}.
Maventa also supports localised PDF for both sent and received invoices, with the legal invoice data included. The PDF is available in English, Finnish, Swedish, Norwegian (Bokmål and Nynorsk), Dutch, and Polish.