Delete an invoice
/invoices/{invoice}Deletes the invoice together with its PDF, items, payment options and e-mail logs, and recalculates the
series counter. Fires the invoice.deleted webhook.
Autorizacija
bearerAuth Business token created in the app under Settings, Integrations, API. The token is scoped to exactly one business, has no expiry and is shown only once. Send it as Authorization: Bearer <token> together with Accept: application/json.
Vieta: header
Kelio parametrai
The invoice ID.
Atsakymo turinys
application/json
application/json
application/json
curl -X DELETE "https://example.com/invoices/string"Get an invoice GET
Ankstesnis puslapis
Replace an invoice PUT
Replaces every field of the invoice with the request body, under the same rules as create. Always resend the current invoice_number: when it is omitted the invoice is renumbered from the series counter. Items, payment options and custom fields are rewritten, totals recalculated and the PDF regenerated. Fires the invoice.updated webhook.