Skip to main content
Glama
hlebtkachenko

POHODA MCP Server

pohoda_list_prijemky

Export receiving documents from POHODA accounting software by document ID, date range, or last changes using the MCP server integration.

Instructions

Export receiving documents (příjemky) from POHODA

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoDocument ID
dateFromNoDate from (DD.MM.YYYY or YYYY-MM-DD)
dateTillNoDate to
lastChangesNoOnly changed after this date

Implementation Reference

  • The handler function for the list warehouse tool (which includes "pohoda_list_prijemky").
    server.tool(toolName, description, listFilterFields, async (params) => {
      try {
        const xml = buildExportRequest(
          { ico: client.ico },
          listTag,
          NS.lst,
          requestTag,
          (req) => applyFilter(req, params),
        );
        const resp = parseResponse(await client.sendXml(xml));
        const data = extractListData(resp);
        return jsonResult(description, data, data.length);
      } catch (e) {
        return err((e as Error).message);
      }
    });
  • Registration of the tool "pohoda_list_prijemky".
    buildWarehouseListTool(server, client, "pohoda_list_prijemky", "Export receiving documents (příjemky) from POHODA", "lst:listPrijemkaRequest", "lst:requestPrijemka");

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