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
| Name | Type | Description |
|---|---|---|
query required | object | Describes the query criteria for searching invoices. |
limit | integer | The maximum number of invoices to return (200 is the maximum limit). If not… |
cursor | string | A 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:
{
"name": "square_api__search_invoices",
"arguments": {
"query": "…"
}
}Or connect the Square API server directly, which lists 308 tools including this one:
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 ….