Parameters
JSON body
Request body
application/jsonidstringRequiredExternal invoice ID.
Example
aB3xKm9pQ2wLn4YzRe-renders the invoice PDF from the current loadInvoiceDescription() output — useful after a customer address or notice is corrected. Overwrites the file blob on shop__invoice.blob_id and, for order-attached invoices, appends a fresh shop__order_file row. Refuses to run on snapshot-locked invoices.
JSON body
idstringRequiredExternal invoice ID.
aB3xKm9pQ2wLn4Yz1 status code documented
successbooleanRequiredfileobjectOptionaltokenstringRequiredfilenamestringRequiredsizenumberRequireddownloadUrlstringRequired{
"success": false,
"file": {
"token": "example_token",
"filename": "example_filename",
"size": 0,
"downloadUrl": "example_downloadUrl"
}
}POST /bff/document/regenerate-pdf
curl -X POST "https://api.bizkithub.com/bff/document/regenerate-pdf" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"id": "aB3xKm9pQ2wLn4Yz"
}'All BizKitHub public API endpoints require authentication via API key.