# n8n, Zapier and Make: invoicing without code

> Stamp invoices, register self-invoicing tickets and receive Fiscalisto's events in your n8n, Zapier or Make flows, with your API key and without writing code.

Fiscalisto has connectors for the three most used automation tools. Each one uses your API key (`fk_test_…` to test, `fk_live_…` to invoice for real) and does the same as the API: whatever you stamp from a flow shows in **Desarrolladores › Facturas** like any other invoice, at the same cost per timbre.

| Tool | How it's added | Actions | Triggers |
| --- | --- | --- | --- |
| n8n | Community node `n8n-nodes-fiscalisto` | Invoices, customers, tickets, SAT lists and RFCs | «Fiscalisto Trigger», with the events you choose |
| Zapier (in English) | «Fiscalisto» app, in review for Zapier's directory | «Create Invoice», «Create Customer», «Create Self-Invoicing Ticket», «Request Customer Tax Data», «Send Invoice by Email», «Find Customer», «Check RFC in SAT Lists» | «Invoice Stamped», «Invoice Rejected», «Invoice Canceled», «Ticket Invoiced», «Customer Tax Data Received» and «Low Stamp Balance» |
| Make | «Fiscalisto» app, in review for Make's directory | «Timbrar una factura», «Ver una factura», «Buscar facturas», «Crear un cliente», «Registrar un ticket de autofactura», «Pedirle sus datos fiscales a un cliente», «Revisar un RFC en las listas del SAT» and «Hacer una llamada a la API» (any route) | «Eventos de Fiscalisto», with the events you choose |

## Connecting your account

1. In **Desarrolladores › Llaves** press **Crear llave**. For a flow that only reads, choose **Solo lectura** under **Permisos**.
2. In your tool, when adding the first Fiscalisto action, paste the key where it says «Llave de la API» (in Zapier, «API Key»).
3. The tool tries it with `GET /v1/account` and shows you your account's name.

Start with the test key: invoices are stamped with a test PAC, cost no timbres and aren't valid before SAT. When the flow does what you want, switch the key to the live one.

## Events

Triggers create a webhook in your account when the flow is turned on and delete it when it's turned off; you'll see it in **Desarrolladores › Webhooks** with a description that starts with «n8n», «Zapier» or «Make». n8n checks each delivery's signature and Zapier reads the event again from the API with your key before running the flow, so nobody else can pretend to be Fiscalisto; in Make, the webhook's address is secret and only your scenario knows it. The events that exist are in [Webhooks](https://fiscalisto.com/en/docs/api/webhooks).

## Examples

- **Online store → invoice.** When a paid order comes in (Shopify, WooCommerce, Stripe), create a ticket with `POST /v1/tickets` and send the buyer the ticket's `url` link; they enter their data and the invoice is stamped by itself. Whatever nobody invoices goes into the global invoice. See [Self-invoicing](https://fiscalisto.com/en/docs/api/autofactura).
- **CRM → invoice.** When you win a sale in your CRM, look up the customer by RFC (or create it) and stamp the invoice with its line items.
- **Asking for tax data.** If you don't have the customer's RFC, «Pedirle sus datos fiscales a un cliente» sends them a link; when the customer fills it in, `customer_data_request.completed` arrives and the flow continues. See [Customer data](https://fiscalisto.com/en/docs/api/datos-del-cliente).
- **Alerting the team.** With `invoice.failed` or `balance.low`, send an email or a message to your team.
- **Checking suppliers.** Before paying a supplier, check its RFC on SAT's 69-B and 69 lists. See [SAT's lists](https://fiscalisto.com/en/docs/api/listas-del-sat).

## Another tool

Any tool that makes HTTP requests works: use `https://api.fiscalisto.com` with the header `Authorization: Bearer fk_test_…` and a JSON body as in the [reference](https://fiscalisto.com/en/docs/api/referencia/facturas/create-invoice). To stamp without repeating invoices when the tool retries, also send `Idempotency-Key` with a value that doesn't change between retries, like the order number. See [Idempotency](https://fiscalisto.com/en/docs/api/idempotencia).
