list_invoices

Lists invoices for an account. Use invoice.id as invoiceId in read_invoice, update_invoice, or delete_invoice.

Use with an AI agent

Export this page as Markdown or bundle it with a task for your agent.

Try a task
Preview the prompt that will be copied

Access

  • Effect: Read-only
  • Required scope: read (the mcp scope also grants it)

Example request

The JSON-RPC message an MCP client sends to call this tool. Your client builds it for you; this is for reference and debugging in a tool such as MCP Inspector.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_invoices",
    "arguments": {}
  }
}

Example IDs refer to fictional demo data. Replace them with IDs from your account before calling the real server.

Description

Lists invoices for an account. Use invoice.id as invoiceId in read_invoice, update_invoice, or delete_invoice.

Requires accountId — call list_accounts first if you do not have one.

Input parameters

NameTypeRequiredDescription
accountIdstringNo
paginationobjectNo
Full input schema (JSON Schema)
json
{
  "additionalProperties": false,
  "properties": {
    "accountId": {
      "type": [
        "null",
        "string"
      ]
    },
    "pagination": {
      "additionalProperties": false,
      "properties": {
        "limit": {
          "type": "integer"
        },
        "skip": {
          "type": "integer"
        }
      },
      "required": [
        "limit",
        "skip"
      ],
      "type": [
        "null",
        "object"
      ]
    }
  },
  "type": "object"
}