Download KSeF (Poland’s e-invoicing system) invoices to an Excel spreadsheet — n8n ワークフロー
概要
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
使用ノード
HTTP RequestCode
ワークフロープレビュー
⚡
W
When clicking 'Test work…
⚙
⚙️ Config
Get Public Key
Get Challenge
Encrypt Token
Init Auth
Wait 2s
Check Auth Status
Redeem Token
Query Invoices
Extract Invoices
Format for Spreadsheet
W
Write XLSX
Close Session
14 nodes13 edges
仕組み
- 1
トリガー
このワークフローは トリガー トリガーで開始します。
- 2
処理
データは 14 個のノードを流れます, connecting code, httprequest, manualtrigger。
- 3
出力
ワークフローは自動化を完了し、設定された宛先に結果を配信します。
ノード詳細 (14)
HT#1
HTTP Request
httpRequest
CO#2
Code
code
このワークフローのインポート方法
- 1右側の JSONをダウンロード ボタンをクリックしてワークフローファイルを保存します。
- 2n8nインスタンスを開き、ワークフロー → 新規 → ファイルからインポート に進みます。
- 3ダウンロードした
download-ksef-polands-e-invoicing-system-invoices-to-an-excel-spreadsheetファイルを選択し、インポートをクリックします。 - 4各サービスノードの 認証情報(APIキー、OAuthなど)を設定します。
- 5ワークフローをテスト をクリックして動作確認し、有効化します。
またはn8nの JSONからインポート に直接貼り付け:
{ "name": "Download KSeF (Poland’s e-invoicing system) invoices to an Excel spreadsheet", "nodes": [...], ...}
インテグレーション
codehttprequestmanualtriggersetspreadsheetfile
作成者
Greg Brzezinka
@ai-greg
タグ
codehttprequestmanualtriggersetspreadsheetfile