Bulk Delete Invoices

Deletes multiple invoices at once.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

The invoice records to be returned can be selected in two ways: by providing their IDs or by applying filters.

If the has_selected_all field is not explicitly set to true, at least one of these fields must be included in the request body.

❗️

Use this endpoint with caution!

Before deletion, no confirmation is requested. This endpoint can delete all invoice records in the library in a single request, and these records are irrecoverable. If you're unsure which records will be deleted, query the Bulk Export Invoices endpoint with the same filters.

Body Params
string
required

The ID of the outlet.

selected_ids
array of strings

List of specific invoice IDs to select. If not empty, all other fields will be ignored.

selected_ids
filters
object

Filters to apply to the invoices. If not empty, the 'has_selected_all' field will be ignored.

boolean

Whether all invoices should be deleted. It will be considered only if the other fields are empty.

Responses
204

204

400

400

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here!