Reconcile camt.053 bank statements with XRechnung invoices and email reports
Ready for 3.0What this workflow does
This workflow has 53 nodes and runs when someone submits an n8n form (“Upload bank statements”) (plus 1 other trigger). It uses only n8n's built-in nodes.
How it runs
Trigger: When someone submits an n8n form (“Upload bank statements”) (plus 1 other trigger).
- What was sent? (Switch): routes items into 2 branches
- Payment settings (Edit Fields (Set)): sets 6 fields: accountIban, paymentDays, skontoDays…
- Sample statement (Edit Fields (Set)): sets 4 fields: sampleRun, fileName, xml…
- Nothing to read (n8n Form): shows the next form page
- Create xr_invoices table (Data table): create (table)
- Read xr_invoices (Data table): get (row)
- Create xr_customers table (Data table): create (table)
- Read xr_customers (Data table): get (row)
- Create xr_payments table (Data table): create (table)
- Collect the files (Code): runs custom JavaScript code
…plus 41 more steps. See the full node list below.
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (17)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Switch
n8n-nodes-base.switch - n8n Form
n8n-nodes-base.form - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Edit Fields (Set)
n8n-nodes-base.set - Data table
n8n-nodes-base.dataTable - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Compression
n8n-nodes-base.compression - Merge
n8n-nodes-base.merge - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - XML
n8n-nodes-base.xml - Split Out
n8n-nodes-base.splitOut - HTML
n8n-nodes-base.html - Send Email
n8n-nodes-base.emailSend - Stop and Error
n8n-nodes-base.stopAndError - Aggregate
n8n-nodes-base.aggregate
From the author
Quick overview This workflow imports German camt.053 bank statement files (XML or ZIP), records each booking in n8n Data Tables, matches incoming payments and returns to XRechnung invoices, and emails a reconciliation report via SMTP. How it works 1. Starts…