Convert quote to invoice

Turn an approved quote into an invoice and link the two.

MCP tool invoice_ninja_write → convert_quote_to_invoice

write Confirm

Creates an invoice from a quote, copying its lines, totals and attached details, and marks the quote Converted with a link to the new invoice. Invoice Ninja converts quotes itself when the client approves and Settings > Workflow Settings > Quotes > Automatically Convert is on, so this tool is for approved quotes that were not converted. If the quote is not approved, the call stops and returns the quote status instead. The new invoice is not sent; use send_invoice for that. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: convert_quote_to_invoice
NameTypeDescription
company string string Company name, for accounts with several companies. Default: the company open when you signed in.
quote_number string required string Quote number from list_quotes or create_quote, e.g. Q-0017.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "invoice_ninja_write",
    "arguments": {
      "operation": "convert_quote_to_invoice",
      "arguments": {
        "quote_number": "quote number"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "quote_number": "Q-0017",
    "quote_status": "converted",
    "invoice_number": "INV-0047",
    "invoice_status": "draft",
    "amount": 2400,
    "currency": "USD"
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.