Skip to main content
Glama

siigo_get_credit_notes

Retrieve credit notes from Siigo accounting software to manage refunds, returns, and billing adjustments. Filter results by page and page size for organized data access.

Instructions

Get list of credit notes from Siigo

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number
page_sizeNoNumber of items per page

Implementation Reference

  • MCP tool handler that calls SiigoClient.getCreditNotes and returns JSON-formatted response.
    private async handleGetCreditNotes(args: any) { const result = await this.siigoClient.getCreditNotes(args); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
  • Actual API implementation: sends GET request to Siigo /v1/credit-notes with optional pagination parameters.
    async getCreditNotes(params?: { page?: number; page_size?: number }): Promise<SiigoApiResponse<any>> { return this.makeRequest<any>('GET', '/v1/credit-notes', undefined, params); }
  • Input schema definition for the siigo_get_credit_notes tool, supporting pagination.
    { name: 'siigo_get_credit_notes', description: 'Get list of credit notes from Siigo', inputSchema: { type: 'object', properties: { page: { type: 'number', description: 'Page number' }, page_size: { type: 'number', description: 'Number of items per page' }, }, }, },
  • src/index.ts:99-100 (registration)
    Dispatch registration in the CallToolRequestSchema handler switch statement.
    case 'siigo_get_credit_notes': return await this.handleGetCreditNotes(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