v1

latestOpenAPI 3.0.02026-08-063014193.1 MB
Bills

Delete or void a Bill

This endpoint will transition a bill to either its deleted or voided state. A bill can only be deleted or voided if it has no payments recorded and its current state is one of the following:

  • Draft
  • Pending Approval
  • Unpaid

A bill will automatically be moved to a deleted or void state based on its current state. The mappings for this are:

  • Draft -> Deleted
  • Pending Approval -> Deleted
  • Unpaid -> Void
delete/bills/{id}.json

Path parameters

idinteger required

The unique identifier for the Bill.

Headers

X-API-VERSIONstring

The API minor version. Default: latest version.

Response

No Content