Get an invoice

Read one invoice with its lines.

MCP tool aroflo_read → get_invoice

read

Returns the invoice header, its status and every line with description, quantity, rate and amount. The total is the sum of the lines. Use it to check an invoice before approve_invoice, because an Approved invoice cannot be edited.

Parameters

Parameters: get_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_read",
    "arguments": {
      "operation": "get_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",
    "client": "Harbour Café",
    "job_number": "J1170",
    "status": "In Progress",
    "lines": [
      {
        "description": "Labour",
        "quantity": 3,
        "rate": 120,
        "amount": 360
      },
      {
        "description": "Compressor contactor",
        "quantity": 1,
        "rate": 480,
        "amount": 480
      }
    ],
    "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.