BizKitHub
DocsAPI ReferencePurchase Invoice/bff/purchase-document/delete
postPurchase InvoiceAdmin BFF

/bff/purchase-document/delete

Hard delete + audit log. Attachments are NOT cascaded; they become orphans in core__blob and are cleaned up by the periodic orphan-blob sweep. Prefer status="cancelled" instead.

PurchaseInvoicepostBffPurchase-documentDelete

Parameters

JSON body

Request body

application/json
idnumberRequired

Response schema

1 status code documented

200Success

This response returns no JSON body.

Response example

application/json
{
  "success": true
}

Request example

POST /bff/purchase-document/delete

post
curl -X POST "https://api.bizkithub.com/bff/purchase-document/delete" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "id": 0
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key