Issue e-invoices in Poland without leaving your code
Self-service API for Poland’s KSeF. Generate FA(3) XML, submit it and track its status. No Peppol Access Point. No manual portal.
KSeF test environment available today KSeF production on paid plans (DEMO first) No credit card
# Sandbox: seller.nip must be 2745013933
curl -X POST https://api.getnotaly.com/invoices \
-H "Authorization: Bearer $NOTALY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"number": "FV/2026/10/001",
"currency": "PLN",
"seller": { "nip": "2745013933", … },
"buyer": { "nip": "1234563218", … },
"items": [{ "name": "SaaS subscription", "unit": "pcs.",
"quantity": 1, "unitNetPrice": 1000, "vatRate": 23 }]
}'
{
"status": "accepted",
"number": "FV/2026/10/001",
"ksefNumber": "2745013933-20261012-8F3A21C9B7D0-4E",
"upo": "<UPO …/>"
}
- FA(3) XMLValidated against the official XSD
- KSeF APITest environment available today
- Signed webhooksHMAC on every status change
- IdempotentSafe retries on POST /invoices
Built for developers, not for portals
Truly developer-first
API keys, webhooks and idempotent submissions. Integrate in hours, not weeks.
Compliance handled for you
We validate the XML against the official XSD before sending. You get a readable error, not a government rejection.
The whole KSeF flow, one API
Poland (KSeF) today: FA(3) XML, submission and status tracking on one endpoint.
How it works
1. Create your API key
Sandbox sign-up in minutes.
2.
POST /invoicesSend the invoice data as simple JSON.
3. Track status via webhook
Track the submission and KSeF response until
acceptedorrejected; the UPO follows when KSeF issues it.
curl -X POST https://api.getnotaly.com/invoices \
-H "Authorization: Bearer $NOTALY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"number": "FV/2026/10/001",
"issueDate": "2026-10-12",
"currency": "PLN",
"seller": {
"nip": "2745013933",
"name": "Example Sp. z o.o. (FICTIONAL)",
"address": {
"line1": "ul. Testowa 1, 00-001 Warszawa",
"country": "PL"
}
},
"buyer": {
"nip": "1234563218",
"name": "Test Customer S.A. (FICTIONAL)",
"address": {
"line1": "ul. Probna 2, 30-001 Kraków",
"country": "PL"
}
},
"items": [
{
"name": "SaaS subscription - October",
"unit": "pcs.",
"quantity": 1,
"unitNetPrice": 1000,
"vatRate": 23
},
{
"name": "Support",
"unit": "hrs.",
"quantity": 2,
"unitNetPrice": 150.5,
"vatRate": 8
}
]
}'
Sandbox seller NIP must be 2745013933. It is the NIP of our KSeF TEST certificate; any other seller.nip is refused before it reaches KSeF.
Fictional data (test NIPs), identical to docs/examples/invoice-sample.json in the repository.
Invoice status
- draftFA(3) XML generated and validated against the XSD
- submittedSent to KSeF; stays here while KSeF processes it
- acceptedKSeF number returned; UPO when KSeF issues it
- rejectedStable error code, never a raw government message
KSeF and FA(3) in a nutshell
KSeF (Krajowy System e-Faktur) is Poland’s national e-invoicing system, run by the Ministry of Finance. B2B invoices are issued as XML and receive a unique KSeF number.
FA(3) is the current version of the XML schema (XSD) for KSeF structured invoices. An invoice must follow it to be accepted; Notaly generates the XML and validates it against the official XSD before submission.
UPO (Urzędowe Poświadczenie Odbioru) is the official proof of receipt returned by KSeF when an invoice is accepted.
Pricing
On a paid plan you connect your own KSeF token, validate it on KSeF DEMO first, then switch to KSeF production from the dashboard. If we don't enable production within 5 business days after a valid NIP + production token and a validated DEMO setup, you get a full refund (see Terms). How to get a KSeF token · Refund policy
Starter Recommended
- Up to 200 invoices/month
- €0.25 per extra invoice
- KSeF production (after DEMO validation)
- Webhooks
- Email support
Talk to sales
High volume, several entities or a hard KSeF deadline? Tell us about your setup and we’ll come back with a plan and a price.
- Volume pricing above 1,000 invoices/month
- SLA and dedicated onboarding
- We reply by email — no sales call unless you ask for one
Thanks — we’ll be in touch
Sales will reply by email. Reference:
What is Notaly?
Notaly is a self-service KSeF API and e-invoicing API for Poland. Send JSON via POST /invoices and Notaly generates FA(3) XML, validates it against the official XSD, submits it to KSeF and tracks the status.
What is KSeF?
KSeF (Krajowy System e-Faktur) is Poland's national e-invoicing system, operated by the Ministry of Finance. Structured invoices are submitted as XML and receive a unique KSeF number.
What is the FA(3) format?
FA(3) is the current version of the XML schema (XSD) for KSeF invoices. Notaly generates FA(3) XML from simple JSON and validates it against the official XSD before submitting.
What is the UPO?
The UPO (Urzędowe Poświadczenie Odbioru) is the official proof of receipt issued by KSeF when an invoice is accepted. The API returns the UPO when KSeF issues it.
Do I need to be a Peppol Access Point?
No. Notaly talks directly to KSeF, the Polish government system, so you do not need to become a Peppol Access Point. Notaly does not offer Peppol today.
Does Notaly calculate taxes?
No. We issue and track the e-invoice; tax calculation is your responsibility or your accountant's.
Is KSeF production available?
KSeF production is live on paid plans. Connect your own KSeF token for your NIP, validate on KSeF DEMO first, then connect your production token: production works as soon as KSeF accepts it. If we don't enable production within 5 business days after a valid NIP + production token and a validated DEMO setup, you get a full refund for the current billing period (see Terms).
How do I track an invoice's status?
Via a signed webhook (HMAC) or by calling GET /invoices/{id}. API statuses: draft → submitted → accepted | rejected. While KSeF processes the submission internally, the invoice stays submitted.
Which countries are supported?
Poland (KSeF) only, today.
How much does it cost?
Free sandbox; Starter €49/month for up to 200 invoices; Scale €199/month for up to 1,000 invoices; €0.25 per invoice above the plan limit; Enterprise on request.
Talk to the team that builds it
Stuck on KSeF auth, an FA(3) validation error or a webhook? Open a ticket — an engineer replies by email.
- Include the invoice
idand the errorcodeif you have them. - Never paste API keys, passwords or certificates.
We got your ticket
An engineer will reply by email. Reference:
Start invoicing in Poland today
Create a sandbox account and issue your first KSeF test invoice in minutes.
- 3 free test invoices on KSeF TEST
- API key in seconds, no credit card
- Upgrade to Starter or Scale when you’re ready
Your sandbox API key
Store it now — it won’t be shown again. Put it in a secret manager or your .env as NOTALY_API_KEY.
3 free test invoices on KSeF TEST included. Send your first one:
Sandbox seller NIP must be 2745013933; the command below already uses it.
Then poll GET /invoices/{id} until the status is accepted. Ready for a paid plan? Upgrade to Starter On a paid plan you connect your own KSeF token, validate it on KSeF DEMO first, then switch to KSeF production from the dashboard. If we don't enable production within 5 business days after a valid NIP + production token and a validated DEMO setup, you get a full refund (see Terms).