post https://api.apicbase.com/api/v2/invoices/bulk_delete/
Deletes multiple invoices at once.
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.