Skip to main content
Glama
hlebtkachenko

POHODA MCP Server

pohoda_list_vouchers

Retrieve cash vouchers (receipts and expenses) from POHODA accounting software. Filter results by ID, date range, company name, or last changes to access specific financial records.

Instructions

List cash vouchers (receipts and expenses) from POHODA. Supports filtering by ID, date range, company name, or last changes. Returns JSON array of matching records.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoFilter by voucher ID
dateFromNoFilter from date (DD.MM.YYYY or YYYY-MM-DD)
dateTillNoFilter till date (DD.MM.YYYY or YYYY-MM-DD)
companyNameNoFilter by company name
lastChangesNoFilter by last changes date

Implementation Reference

  • The handler function for 'pohoda_list_vouchers' which builds the XML request, sends it via the client, and parses/returns the voucher list.
    async (params) => {
      try {
        const xml = buildExportRequest(
          { ico: client.ico },
          "lst:listCashRequest",
          NS.lst,
          "lst:requestCash",
          (req) => applyFilter(req, params)
        );
        const response = await client.sendXml(xml);
        const parsed = parseResponse(response);
        const data = extractListData(parsed);
        return jsonResult("Vouchers", data, Array.isArray(data) ? data.length : 0);
      } catch (e) {
        return err((e as Error).message);
      }
    }
  • The registration and input schema definition for 'pohoda_list_vouchers'.
    "pohoda_list_vouchers",
    "List cash vouchers (receipts and expenses) from POHODA. Supports filtering by ID, date range, company name, or last changes. Returns JSON array of matching records.",
    {
      id: z.number().optional().describe("Filter by voucher ID"),
      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)"),
      companyName: z.string().optional().describe("Filter by company name"),
      lastChanges: z.string().optional().describe("Filter by last changes date"),
    },

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