siigo_get_taxes
Retrieve the complete catalog of tax rates and types from Siigo's Colombian accounting system for accurate financial calculations and compliance.
Instructions
Get taxes catalog
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:1076-1079 (handler)MCP tool handler that executes the tool logic by calling SiigoClient.getTaxes() and returning the JSON-formatted response.private async handleGetTaxes(args: any) { const result = await this.siigoClient.getTaxes(); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
- src/index.ts:677-681 (registration)Tool registration in getTools() method, defining name, description, and input schema.{ name: 'siigo_get_taxes', description: 'Get taxes catalog', inputSchema: { type: 'object', properties: {} }, },
- src/index.ts:149-150 (registration)Dispatch registration in the executeTool switch statement.case 'siigo_get_taxes': return await this.handleGetTaxes(args);
- src/siigo-client.ts:214-216 (helper)Supporting utility in SiigoClient that performs the actual API GET request to fetch taxes.async getTaxes(): Promise<SiigoApiResponse<any>> { return this.makeRequest<any>('GET', '/v1/taxes'); }
- src/index.ts:680-680 (schema)Input schema definition for the tool (no required parameters).inputSchema: { type: 'object', properties: {} },