Idempotency
When to use it
These create endpoints accept an idempotency key:
POST /api/v1/invoices,/quotes,/sales-orders,/credit-notesPOST /api/v1/payments-received,/payments-madePOST /api/v1/bills,/purchase-orders,/debit-notes
Use it whenever a create request might be retried after a timeout or dropped connection.
How it works
Send a unique value per create attempt:
HTTP
Idempotency-Key: a1b2c3d4-...A retry with the same key and the same body returns the original result instead of creating a duplicate. Reusing the same key with a different body returns 409 conflict.