Skip to main content
Glama

siigo_get_payment_receipts

Retrieve payment receipts from Siigo accounting software. Use this tool to access and manage payment records, supporting pagination for handling large datasets.

Instructions

Get list of payment receipts from Siigo

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number
page_sizeNoNumber of items per page

Implementation Reference

  • MCP tool handler function that invokes SiigoClient.getPaymentReceipts and returns JSON-formatted response.
    private async handleGetPaymentReceipts(args: any) { const result = await this.siigoClient.getPaymentReceipts(args); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
  • Core implementation in SiigoClient that performs the authenticated GET request to Siigo API endpoint /v1/payment-receipts.
    async getPaymentReceipts(params?: { page?: number; page_size?: number }): Promise<SiigoApiResponse<any>> { return this.makeRequest<any>('GET', '/v1/payment-receipts', undefined, params); }
  • src/index.ts:574-584 (registration)
    Tool registration in getTools() array, including name, description, and input schema.
    { name: 'siigo_get_payment_receipts', description: 'Get list of payment receipts from Siigo', inputSchema: { type: 'object', properties: { page: { type: 'number', description: 'Page number' }, page_size: { type: 'number', description: 'Number of items per page' }, }, }, },
  • Input schema definition for pagination parameters.
    inputSchema: { type: 'object', properties: { page: { type: 'number', description: 'Page number' }, page_size: { type: 'number', description: 'Number of items per page' }, }, },
  • src/index.ts:127-128 (registration)
    Dispatch case in the tool request handler switch statement.
    case 'siigo_get_payment_receipts': return await this.handleGetPaymentReceipts(args);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jdlar1/siigo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server