Zum Inhalt springen
NEUMarktplatz und dein Team: Verkaufe, was du baust, und bekomm Pläne und Änderungen, die getestet sind, bevor du sie siehst. Neuigkeiten ansehen

Bibliothek / Finanzen, Rechnungen & Buchhaltung

Finanzen, Rechnungen & Buchhaltung

Entwurfsquittungen in InvoiceXpress mit Validierung der portugiesischen NIF erstellen

Ein manueller Lauf prüft die Kunden-NIF mit der portugiesischen Prüfziffernregel, verifiziert die konfigurierten MwSt.-Steuern in InvoiceXpress und erstellt eine Entwurfs-Rechnungsquittung.

Was sie bewirkt

## Create draft invoice-receipts in InvoiceXpress with Portuguese NIF validation ### Who's it for Businesses in Portugal that invoice in InvoiceXpress and want to try its API from n8n. ### How it works 1. Sample payment data holds one payment: customer, NIF (Portuguese tax ID), amount with VAT and VAT rate. 2. The NIF is checked with the Portuguese check-digit rule. Without a valid NIF, the draft is made out to the final consumer (consumidor final). 3. The workflow reads your InvoiceXpress taxes and confirms that each configured tax exists with the right percentage. 4. It creates a draft invoice-receipt (fatura-recibo) for the customer, identified by NIF, and shows its ID and total. ### Setup 1. Create a Custom Auth credential with your API key and select it in both InvoiceXpress nodes: { "qs": { "api_key": "YOUR API KEY" } }. The key and account name are on your account's API page in InvoiceXpress. 2. In Configuration, set invoicexpress_base_url to your account address and, in taxas_iva, the tax name for each VAT rate. With invoicexpress_sequence_id = 0 the default series is used. 3. Edit Sample payment data and click Execute workflow. ### Requirements - An InvoiceXpress account with API access. - Tested on n8n 2.41.6 (self-hosted) with a simulated InvoiceXpress API built from the official docs; not yet tested on a real InvoiceXpress account. ### Customization tips Replace the manual trigger with a Webhook or Form trigger. Field names are Portuguese: nome (name), valor (amount with VAT), taxa_iva (VAT rate). ### Full version The full version on Gumroad creates and finalises the invoice right after a Stripe or webhook payment, sends it to the customer, never duplicates invoices and alerts you by email when something fails. Em português: valida o NIF e cria um rascunho de fatura-recibo no InvoiceXpress.

Die Schritte

  1. Run with sample data
  2. Sample payment data
  3. Configuration
  4. Prepare payment
  5. Validate payment and NIF
  6. InvoiceXpress: list taxes
  7. Check configured taxes
  8. Build draft invoice-receipt
  9. InvoiceXpress: create draft invoice-receipt
  10. Show result