Post a draft invoice. If an approval policy matches, responds 202 with { pending_approval: true, approval_instance_id, approval_status_url, message } instead; poll GET /approvals/:id.
Post a draft invoice. If an approval policy matches, responds 202 with { pending_approval: true, approval_instance_id, approval_status_url, message } instead; poll GET /approvals/:id.
POST
https://app.softsolz.uk/api/v1/services/invoicing/invoices/{id}/postRecent Requests
Kept only in this browserTimeStatusTook
Send a request with Try it to see it here.
Path Params
idstringrequiredHeaders
AuthorizationstringrequiredBearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.
Idempotency-KeystringOptional idempotency key for safe retries.
Response
Response Body
idintegerInvoice id.customer_idintegerCustomer id.invoice_numberstringHuman invoice number.issue_datestringIssue date (YYYY-MM-DD).due_datestringDue date (YYYY-MM-DD).currencystringISO 4217 currency code.subtotalstringDecimal amount as a numeric string (NOT minor units).tax_totalstringTotal tax, numeric string.totalstringInvoice total, numeric string.amount_paidstringAmount paid so far, numeric string.statusstringInvoice status.linesarray of objectsInvoice line items.paymentsarray of objectsRecorded payments; payments[].id is the payment_id used when issuing a refund.created_atstringCreation timestamp.updated_atstringLast update timestamp.Request
curl --request POST \ --url https://app.softsolz.uk/api/v1/services/invoicing/invoices/{id}/post \ --header 'Authorization: Bearer sk_live_your_key'Credentials
Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.
Response · 200
{ "data": { "id": 1001, "customer_id": 42, "invoice_number": "INV-0007", "issue_date": "2026-01-15", "due_date": "2026-02-14", "currency": "GBP", "subtotal": "100.00", "tax_total": "20.00", "total": "120.00", "amount_paid": "0.00", "status": "sent", "lines": [ { "description": "Consulting, January", "quantity": 10, "unit_price": 10 } ], "payments": [], "created_at": "2026-01-15T09:55:00.000Z", "updated_at": "2026-01-15T09:55:00.000Z" }}