Dokumentacijav1
Invoices

Delete an invoice

DELETE/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
AutorizacijaBearer <token>

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

invoice*string

The invoice ID.

Atsakymo turinys

application/json

application/json

application/json

curl -X DELETE "https://example.com/invoices/string"
Tuščia
F-sąskaita / DevelopersKas naujo