Download invoices from Poland's KSeF (Krajowy System e-Faktur) and export them as an XLSX spreadsheet. Handles the full v2 authentication flow automatically.
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 name, net/VAT/gross amounts, currency, invoice type, and more.
Polish companies and accountants who need to bulk-download invoice data from KSeF for bookkeeping, reconciliation, or tax reporting.
YYYYMMDD-XX-XXXXXXXXXX-XXXXXXXXXX-XX|nip-XXXXXXXXXX|hashnip — your 10-digit NIPauthToken — the KSeF token from step 1startDate / endDate — the date range in ISO 8601 format (e.g. 2026-01-01T00:00:00Z)subjectType — use Subject2 for invoices you received (as buyer), Subject1 for invoices you issued (as seller)KSeF API v2 requires a 6-step authentication flow:
Only after step 6 can you query invoices. This workflow handles all of that automatically — you just provide your token and NIP.
Some ideas for what you can add after the Write XLSX node:
GET /invoices/{ksefNumber} with the access token to download the full invoice XMLhttps://api.ksef.mf.gov.pl/v2https://api-test.ksef.mf.gov.pl/v2ksef, poland, invoices, tax, e-invoicing, spreadsheet, xlsx, accounting
Finance & Accounting, Data Transformation