Home / Servers / Square API / search_invoices

SearchInvoices

An MCP tool from the Square API server, hosted on mcp.hjlabs.in.

SearchInvoices Searches for invoices from a location specified in the filter. You can optionally specify customers in the filter for whom to retrieve invoices. In the current implementation, you can only specify… [POST /v2/invoices/search]

Name on the gateway: square_api__search_invoices · may change things.

Parameters

NameTypeDescription
query requiredobjectDescribes the query criteria for searching invoices.
limitintegerThe maximum number of invoices to return (200 is the maximum limit). If not…
cursorstringA pagination cursor returned by a previous call to this endpoint. Provide this…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "square_api__search_invoices",
  "arguments": {
    "query": "…"
  }
}

Or connect the Square API server directly, which lists 308 tools including this one:

Run in your terminal
claude mcp add --transport http hj-square-api https://mcp.hjlabs.in/mcp/square-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the searchinvoices tool with query set to ….

More from Square API