Quotes
Convert an accepted quote into an invoice
POST/quotes/{id}/convert
Requires the quote to be in quote_accepted. Creates a NEW invoice draft (its own provisional number) copying customer/issuer/payment/items/taxes, flips the quote to quote_converted, and sets its convertedInvoiceId. Rejects attempts to convert the quote more than once.
Path parameters
idstring · uuidrequired
Public document UUID. This is distinct from the customer-facing share token.
Headers
Idempotency-Keystring · max 255required
Client-generated key that identifies one write for 24 hours. Reuse it only when retrying the same method, path, query, and body.
Responses
201
Created. The newly created invoice draft.
400
Bad request. Malformed request.
401
Unauthorized. Missing, invalid, revoked, or expired API key.
403
Forbidden. The API key lacks a required scope or the creator lacks a required permission.
404
Not found. Resource not found (or not in this workspace).
409
Conflict. A matching request with this Idempotency-Key is still in progress. Retry after one second.
422
Unprocessable content. This Idempotency-Key was already used for a different request.
429
Too many requests. Rate limit exceeded.