Create and send invoice
Create an invoice for an account from line items and send it to the client.
MCP tool taxdome_write → send_invoice
write Confirm
Creates an invoice from line items and sends it, as the Create button does in TaxDome, so there is no draft step. Returns the invoice ID and the total, which is the sum of the lines. Needs the firm owner or the Manage invoices access right. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| account_id string required | string | Account ID from list_accounts. |
| items array required | array | Lines as { description, amount }. |
| template string | string | Invoice template name to start from. |
| due_date date | date | Due date, ISO. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "taxdome_write",
"arguments": {
"operation": "send_invoice",
"arguments": {
"account_id": "acc_4f21",
"items": [
{
"description": "Bookkeeping, October 2026",
"amount": 1200
}
],
"due_date": "2026-10-28"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"invoice_id": "inv_2291",
"account_id": "acc_4f21",
"items": [
{
"description": "Bookkeeping, October 2026",
"amount": 1200
}
],
"total": 1200,
"due_date": "2026-10-28",
"status": "sent"
},
"isError": false
}