Update invoice
Edit an invoice: its terms, invoice and due dates and notes, the due date of each stage of its payment schedule (one per stage, in order, refused when the count does not match), its company, its billing and shipping addresses, its line items (a saved line edited in place by its id, a line left out removed) and its fee, tax and discount lines (a dollar amount or a percent of the subtotal). The subtotal, tax, total and payment schedule are worked out again. A new company keeps only the addresses linked to it. A paid or void invoice keeps its company, lines, fees and addresses.
Required scopes: invoices:write. Runs at once.
bearerAuthAuthorizationBearer <token>An API key (flito_pat_…) from Settings, API & AI connections.
application/json- body
input*idempotencyKey?stringSend the same key to retry safely: the second call returns the first result.
length <= 255The capability ran.
application/json- response
result*unknownThe capability’s output.
commitId?|The config commit, for versioned records.
eventId?string|nullidempotentReplay?booleanTrue when this answer is a replay of an earlier call.
curl -X POST 'https://crm.yourcompany.com/api/cap/invoice.update' \ -H 'Content-Type: application/json' \ -d '{ "input": { "id": "string" }}'{ "result": null, "commitId": "string", "eventId": "string", "idempotentReplay": true}Was this page useful?
Send invoice POST
Email an invoice to the customer: each person gets a link to the invoice's public page, where the PDF downloads, with an optional message above the sender's signature. Takes recipientEmails (else the contact on the invoice's deal, else whoever signs for its quote), optional ccEmails and message. Once at least one email goes out the invoice is marked sent, the deal moves to Retainer Invoice Sent on the first send where its pipeline has that stage, and invoice.sent is emitted. Returns each recipient's email status. A paid or void invoice, or one with nobody to send to, is refused. Required scopes: invoices:write. Needs confirmation: with an API key, send "approved": true beside the input, or it answers 409 APPROVAL_REQUIRED.
Void invoice POST
Void an invoice. Required scopes: invoices:write. Runs at once.