Skip to main content

Check Deletability

POST 

/api/purchase-invoices/deletable

Check whether purchase invoices can be deleted. Invoices are always deletable.

Required scope: purchase-orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

Each id now reports whether the bill can really be deleted: a committed-spend bill managed by its purchase order, or a bill with a live vendor deposit application, is deletable: false with the reason.

Request​

Responses​

OK