Send an invoice
Send a posted invoice to the customer by email, or get it as a download.
MCP tool odoo_write → send_invoice
write Confirm
Uses the Send window of the invoice. With email the invoice goes to the contact's email address; with download Cotlet returns the file and nothing is sent. Only posted invoices can be sent. The call fails with a clear error if the contact has no email address. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| invoice_id integer required | integer | Invoice ID from list_invoices or create_draft_invoice. |
| method enum | enum | email or download. Default: the contact's preferred sending method. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "odoo_write",
"arguments": {
"operation": "send_invoice",
"arguments": {
"invoice_id": 4182,
"method": "email"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"invoice_id": 4182,
"number": "INV/2026/00412",
"method": "email",
"sent_to": "billing@northwind.example",
"status": "posted"
},
"isError": false
}