Skip to product information

WooCommerce Paid Order Invoice to Quipu (Spanish VAT) via n8n

WooCommerce Paid Order Invoice to Quipu (Spanish VAT) via n8n

 (200+Reviews)
Regular price £72.99
Regular price £72.99 Sale price
SAVE Sold out
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
🔥
128+ Sold
Popular with n8n builders
âš¡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
WooCommerce Paid Order Invoice to Quipu (Spanish VAT) via n8n

WooCommerce Paid Order Invoice to Quipu (Spanish VAT) via n8n

Regular price £72.99
Regular price £72.99 Sale price
SAVE Sold out

Automatically send paid WooCommerce orders as Spanish VAT invoices in Quipu (via n8n)

This n8n workflow watches for WooCommerce order updates and, when an order is paid, it creates (or reuses) the customer contact and generates an invoice in Quipu using Spanish VAT settings—then stores the Quipu invoice ID back in WooCommerce to prevent duplicates.

What this workflow does

  • Triggers on WooCommerce order updates (order.updated events in n8n).
  • Checks invoice eligibility: confirms the order is in an invoiceable status, contains required billing details, and has not already been invoiced using the _quipu_invoice_id order meta field.
  • Resolves Quipu numbering: retrieves an eligible Quipu numbering series so Quipu can assign the next valid invoice number (unless you provide a numbering series ID in configuration).
  • Finds or creates Quipu contacts: searches Quipu by customer tax ID (NIF/VAT) and creates the contact if it doesn’t exist.
  • Builds a Quipu JSON:API invoice including issue date, due date, VAT percent, and order line items; optionally adds shipping as an additional invoice line.
  • Creates the invoice in Quipu and receives the invoice ID and invoice number.
  • Writes results back to WooCommerce by updating order metadata with _quipu_invoice_id and _quipu_invoice_number, ensuring the same order is not invoiced again.

Use cases

  • Spanish e-commerce businesses that want Quipu invoices with VAT automatically generated for every paid WooCommerce order.
  • SaaS operators integrating billing operations without manual exporting or re-entry.
  • Teams that need idempotent invoicing (using WooCommerce meta fields to avoid duplicate invoices).

Technical details

  • Integrations: WooCommerce REST API (read/write), Quipu OAuth2 API
  • Quipu OAuth2 config: Client Credentials with token URL https://getquipu.com/oauth/token and scope ecommerce
  • n8n nodes used: if, set, code, no op, sticky note, http request
View full details