Approve an invoice
Set an invoice to Approved and save it.
MCP tool aroflo_write → approve_invoice
write Confirm
Sets Status to Approved and saves, then returns the invoice. An Approved invoice cannot be changed in AroFlo until its status is set back, and it must be Approved before it can be pushed to your accounting package. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| invoice_id string required | string | Invoice ID from list_invoices. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "aroflo_write",
"arguments": {
"operation": "approve_invoice",
"arguments": {
"invoice_id": "invoice_8c41d2"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"invoice_id": "inv_2041",
"invoice_no": "2041",
"status": "Approved",
"total": 840
},
"isError": false
}