Save Blank Invoice API
Introduction
Queues async persistence for a blank invoice: SaveInvoiceQueue.saveInvoice with title set to blank invoice type. Thread.sleep(200) before enqueue.
Source: GenerateInvoiceAPI.saveBlankInvoice.
See also: Generate Invoice — all endpoints.
HTTP Endpoint
| URL | /rest/generateinvoice/saveBlankInvoice |
| Method | POST |
Request Body (JSON)
| Field | Required |
|---|---|
userName | Yes |
authKey | Yes |
branch | Yes |
userId | Yes |
invoiceData | Yes (InvoiceOriginal) |
Response
{"data": true}
CORS: Not set on 200 success (only on 401).
Example
{
"userName": "alice",
"authKey": "k",
"branch": "default",
"userId": "42",
"invoiceData": { "...": "blank InvoiceOriginal" }
}