v1
latestOpenAPI 3.0.32026-08-0623677345.2 KBBilling
Create invoice (draft)
Creates an invoice in draft status. Totals (amount, tax, subtotal, total) are computed server-side from the lines. Call finalize to issue the invoice to the tax agency and lock it.
post/invoices/
Headers
x-simple-workspacestring required
Workspace (account) identifier. Required for every request.
x-piriod-test-modeboolean
Whether to operate against test-mode data. Defaults to false.
Request body
Example request
{
"id": "inv_01H8XYZ123ABC"
}Response
Invoice created.
Example response
{
"id": "inv_01H8XYZ123ABC"
}