pohoda_list_stores
Export a list of stores or warehouses from the POHODA accounting system to manage inventory locations and stock data.
Instructions
Export list of stores (warehouses) from POHODA
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/stock.ts:157-176 (handler)Handler implementation for the pohoda_list_stores tool.
server.tool( "pohoda_list_stores", "Export list of stores (warehouses) from POHODA", {}, async () => { try { const xml = buildExportRequest( { ico: client.ico }, "lst:listStoreRequest", NS.lst, "lst:requestStore", ); const resp = parseResponse(await client.sendXml(xml)); const data = extractListData(resp); return jsonResult("Stores", data, data.length); } catch (e) { return err((e as Error).message); } }, );