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

Parameters: approve_invoice
NameTypeDescription
invoice_id string required string Invoice ID from list_invoices.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "aroflo_write",
    "arguments": {
      "operation": "approve_invoice",
      "arguments": {
        "invoice_id": "invoice_8c41d2"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "invoice_id": "inv_2041",
    "invoice_no": "2041",
    "status": "Approved",
    "total": 840
  },
  "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.