Integrations

Anything that can make an HTTP request can create an invoice. Here is how the common ones do it.

The shape of every integration

Post a document to the API with your own record id in externalRef. That id comes back in every webhook, so the other system can find its own record without either side storing a mapping table.

Guides

  • Twenty CRM: a workflow step that invoices an opportunity, and webhooks that move it to Closed won
  • n8n: an HTTP Request node and a Webhook node
  • Zapier and Make: a custom request, with the caveats each one has
  • AI agents: the MCP server, so Claude can create a document as a tool call

Three rules that apply everywhere

  • Money is an integer in minor units: 1250 is 12.50
  • Send an Idempotency-Key on every create, because automation tools retry
  • Build against a ik_test_ key, which never sends real email