Templates / Create draft invoice-receipts in InvoiceXpress with Portuguese NIF validation

Create draft invoice-receipts in InvoiceXpress with Portuguese NIF validation

Ready for 3.0

by Fluxo Pronto · 0 views · created 2026-10-10 · Invoice Processing

Ready 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”.

  1. Sample payment data (Edit Fields (Set)): sets 9 fields: nome, email, nif…
  2. Configuration (Edit Fields (Set)): sets 10 fields: invoicexpress_base_url, invoicexpress_sequence_id, taxas_iva…
  3. Prepare payment (Code): runs custom JavaScript code
  4. Validate payment and NIF (Code): runs custom JavaScript code
  5. InvoiceXpress: list taxes (HTTP Request): calls an HTTP API
  6. Check configured taxes (Code): runs custom JavaScript code
  7. Build draft invoice-receipt (Code): runs custom JavaScript code
  8. InvoiceXpress: create draft invoice-receipt (HTTP Request): calls an HTTP API (POST)
  9. 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)

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…

Excerpt from Fluxo Pronto's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.