Bulk cancel AP invoices

Cancels every accounts payable invoice that matches the filters you pass. It takes the same filters as GET /apinvoices.json.

This acts on every invoice that matches your filters, and with no filters that could be all of them. Run GET /apinvoices.json with exactly the same filters first and check the result.

Heads up: this is a GET request, but it changes data. Don't call it just to look something up.

Required permission:

GroupPermission
FinanceCreate, edit and delete ap invoices (includes view)
Query Params
integer

Only return invoices with an ID greater than or equal to this one. Note that this one is inclusive: the record with this ID is returned too.

string

Comma-separated list matched against id.

string

Comma-separated list matched against supplier_id.

string

Exact match on supplier_id.

date-time

Greater than (not including) the created.

date-time

Less than (not including) the created.

date-time

Greater than (not including) the due_date.

date-time

Less than (not including) the due_date.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json