Invoicing from n8n
An HTTP Request node creates the invoice. A Webhook node hears about the payment. That is the whole integration.
Creating an invoice
Use an HTTP Request node with Header Auth, posting to the documents endpoint. Put your trigger's record id in the Idempotency-Key header: n8n retries a failed step, and a retry of a request that actually succeeded would otherwise be a second invoice.
Reacting to a payment
Add a Webhook node, register its production URL as an Invoicora webhook for document.paid, and verify the signature in a Code node before trusting the body. The verification is published as a package so nobody has to write it.
Converting an amount
n8n expressions give you decimals. Multiply and round before sending: Math.round($json.amount * 100) for a currency with two decimal places.