BizKitHub
DocsAPI ReferenceOrder/bff/order/document-issue
postOrderAdmin BFF

/bff/order/document-issue

Issues an invoice / proforma / receipt / tax document / final invoice for the order (zero-value guard bypassed). One document per type: when it already exists, state: "exists" returns it instead.

OrderpostBffOrderDocument-issue

Parameters

JSON body

Request body

application/json
orderHashstringRequired

Unique order hash identifier.

type"invoice" | "proforma" | "receipt" | "taxDocument" | "finalInvoice"Required

Document type to issue.

Response schema

1 status code documented

200Success
state"created" | "exists"Required
idstringRequired
sequenceNumberstringRequired

Response example

application/json
{
  "id": "example_id",
  "sequenceNumber": "example_sequenceNumber"
}

Request example

POST /bff/order/document-issue

post
curl -X POST "https://api.bizkithub.com/bff/order/document-issue" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "orderHash": "example_orderHash"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key