Integračná dokumentácia Help

Basic description of PegasFM Script

PegasFM Script is a simple script used for communication between the integrator application and eKasaClient (commands are described in Komunikačný protokol eKasaPR1). Command format:

Command:Parameter;Parameter;Parameter

Response:

XX/Command:Paramter;Parameter;Parameter >Data >Data

where:

  • XX - operation return code

  • >Data - return data

Script example

paragonBegin:0;0;0;0;0;0 itemSale:1;Item;20.00;A;1.000;20.00;pcs payment:2;16;0;0;0;Cash paragonEnd:3;0

Script response example

00/paragonBegin:0;0;0;0;0;0 00/itemSale:1;Item;20.00;A;1.000;20.00;pcs 00/payment:2;16;0;0;0;Cash 00/paragonEnd:3;0 00/

Conversion of PegasFM commands into script representation

According to the documentation Komunikačný protokol eKasaPR1

pegasfm_to_gasfmscript_conversion.png
pegasfm_to_pegasfmscript_conversion_2.png
Last modified: 23 februára 2026