Cancels one or more invoices.

This endpoint allows bulk cancellation of invoices. Each invoice is processed independently,
enabling partial success scenarios where some invoices may be cancelled while others fail validation.

Conditions:

  • Only invoices with status 'Approved' and payment status 'Unpaid' can be cancelled.

Effects of Cancellation:

  • Invoice status is updated to 'Cancelled'.
  • All related Invoice Line Items are Cancelled.
  • Billing Header Rollup - Total Invoice Amount and Total Pending Amount are updated.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The request containing the list of invoice IDs to cancel.

Represents a request to cancel one or more invoices.

Ids
array of strings | null

Gets or sets the list of invoice IDs to cancel.

Ids
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

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