Download KSeF (Poland’s e-invoicing system) invoices to an Excel spreadsheet — n8n Workflow
Overview
TL;DR;
Download invoices from Poland's KSeF (Krajowy System e-Faktur) and export them as an XLSX spreadsheet. Handles the full v2 authentication flow automatically.
Download KSeF invoices through n8n
What it does
This workflow connects to Poland's KSeF (Krajowy System e-Faktur) API v2, downloads invoice metadata for a configurable date range, and exports everything as a clean Excel spreadsheet (.xlsx).
The spreadsheet includes: KSeF number, invoice number, issue date, seller/buyer NIP and n
Nodes used
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a trigger trigger.
- 2
Process
Data flows through 14 nodes, connecting code, httprequest, manualtrigger.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (14)
HTTP Request
httpRequest
Code
code
How to Import This Workflow
- 1Click Download JSON button on the right to save the workflow file.
- 2Open your n8n instance. Go to Workflows → New → Import from file.
- 3Select the downloaded
download-ksef-polands-e-invoicing-system-invoices-to-an-excel-spreadsheetfile and click Import. - 4Set up credentials for each service node (API keys, OAuth, etc.).
- 5Click Test Workflow to verify everything works, then activate it.
Or paste directly in n8n → Import from JSON:
Integrations
Created by
Greg Brzezinka
@ai-greg
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free →