Skip to main content
Glama
hlebtkachenko

POHODA MCP Server

pohoda_list_vat

Export VAT classification records from POHODA accounting software with date-based filtering. Returns data in JSON format for analysis and reporting.

Instructions

List VAT classification records from POHODA. Read-only export. Supports filtering by date range. Returns JSON array of VAT classification records.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateFromNoFilter from date (DD.MM.YYYY or YYYY-MM-DD)
dateTillNoFilter till date (DD.MM.YYYY or YYYY-MM-DD)

Implementation Reference

  • The handler for the 'pohoda_list_vat' tool, which builds an XML request to export VAT classification records from POHODA and processes the response.
    server.tool(
      "pohoda_list_vat",
      "List VAT classification records from POHODA. Read-only export. Supports filtering by date range. Returns JSON array of VAT classification records.",
      {
        dateFrom: z.string().optional().describe("Filter from date (DD.MM.YYYY or YYYY-MM-DD)"),
        dateTill: z.string().optional().describe("Filter till date (DD.MM.YYYY or YYYY-MM-DD)"),
      },
      async (params) => {
        try {
          const xml = buildExportRequest(
            { ico: client.ico },
            "lst:listClassificationVATRequest",
            NS.lst,
            "lst:requestClassificationVAT",
            (req) => applyFilter(req, params)
          );
          const response = await client.sendXml(xml);
          const parsed = parseResponse(response);
          const data = extractListData(parsed);
          return jsonResult("VAT classification", data, Array.isArray(data) ? data.length : 0);
        } catch (e) {
          return err((e as Error).message);
        }
      }
    );

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/hlebtkachenko/pohoda-mcp'

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