DocsAPI ReferencePurchase Invoice/bff/purchase-invoice/status
postPurchase InvoiceAdmin BFF

/bff/purchase-invoice/status

Standard transitions follow the lifecycle. Backwards moves (e.g. paid → booked) require force: true and are recorded in coreAuditLog as force_edit. The shop__purchase_invoice_log timeline also captures every change for the per-invoice detail page.

PurchaseInvoicepostBffPurchase-invoiceStatus

Parameters

4 body

4 total
Body · 4
idnumberRequired
nextStatusstring | string | string | string | stringRequired

Lifecycle status of a purchase invoice.

paidDatestring | null
forceboolean
Default: false

Request

POST /bff/purchase-invoice/status

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

Response

JSON payload

{
  "success": true
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key