Create draft invoice-receipts in InvoiceXpress with Portuguese NIF validation
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 10 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Sample payment data (Edit Fields (Set)): sets 9 fields: nome, email, nif…
- Configuration (Edit Fields (Set)): sets 10 fields: invoicexpress_base_url, invoicexpress_sequence_id, taxas_iva…
- Prepare payment (Code): runs custom JavaScript code
- Validate payment and NIF (Code): runs custom JavaScript code
- InvoiceXpress: list taxes (HTTP Request): calls an HTTP API
- Check configured taxes (Code): runs custom JavaScript code
- Build draft invoice-receipt (Code): runs custom JavaScript code
- InvoiceXpress: create draft invoice-receipt (HTTP Request): calls an HTTP API (POST)
- Show result (Code): runs custom JavaScript code
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.
Nodes used (4)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest
From the author
Quick overview This workflow runs manually to validate Portuguese NIF tax IDs, verify configured VAT taxes in InvoiceXpress, and then create a draft invoice-receipt (fatura-recibo) via the InvoiceXpress API, returning the new document ID and totals. How it…