Private preview of the new site. Not live.

invoices.createFromQuote

Create an invoice for a signed quote, for the total of the option and optional lines the customer picked.

WhoAgents can call this
RESTPOST /v1/invoices
MCP toolinvoices_createFromQuote
Writesyes, send an Idempotency-Key
AreaInvoices and payments (unlimited)

When to use it

The quote is signed. Make the invoice, with a deposit if the owner wants one.

What to tell the owner

I made the invoice from the signed quote.

Input

FieldTypeRequired
quote_idstringyes
deposit_minorintegerno

Example

POST https://doingwork.work/v1/invoices
content-type: application/json
Idempotency-Key: 3f1c...

{
  "quote_id": "00000000-0000-4000-8000-000000000000"
}

Output

JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.

Errors

CodeStatusWhat to do
conflict409The record is in the wrong state for this, for example sending a quote that's already signed. Read it again and pick the next step.
not_found404No such record, or this worker can't see it.
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.