API referenceReferenceInvoices
Purchase Invoice - Delete
Delete one purchase invoice by ID. If ID is unknown, call `invoicing_purchase_invoices_list` with `invoice_number` first, then use `search` as fallback.
Path Parameters
business_slug*string
Business slug that scopes this request. If you do not have one yet, call common_accessible_businesses_list and pick a slug from the response.
purchase_invoice_id*integer
Identifier of the target purchase invoice. If the ID is not known, use invoicing_purchase_invoices_list with relevant filters and/or the search parameter to locate the purchase invoice.
Response Body
curl -X DELETE "https://example.com/v1/invoicing/string/purchase_invoice/0/"Empty