/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
Body · 4
idnumberRequirednextStatusstring | string | string | string | stringRequiredLifecycle status of a purchase invoice.
paidDatestring | nullforcebooleanDefault:
falseRequest
POST /bff/purchase-invoice/status
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.