Manual Casa Marcat
Manual Casa Marcat
Manual Casa Marcat
The package provides support for accelerated development cycle of creating end-user software interacting
with TREMOL fiscal devices.
It is a result of automated process, generating the required libraries, tools and documentation from latest
official technical specifications.
The package hides the complexities and internals of the communication protocol in the customer
software. The lower-level implementation details, the underlying communication channels and platforms
are abstracted away, instead higher level API is exposed to the end user software.
a. Client applications send commands to local or remote driver through the API.
The developer needs the specific library and the server installed to start development.
If a library for specific language is not provided, fiscal device operations can be performed by sending
HTTP GET request to ZFPLabServer. The server might be running locally or remotely.
API docs and test environment can be found at the following url location: http://localhost:4444
Response format:
-Successful execution with no data returned.
<Res Code="0">
</Res>
-Successful execution with data returned.
<Res Code="0">
<Res Name="VATrateA" Value="20.00" Type="Decimal"/>
<Res Name="VATrateB" Value="09.00" Type="Decimal"/>
<Res Name="VATrateC" Value="00.00" Type="Decimal"/>
<Res Name="VATrateD" Value="00.00" Type="Decimal"/>
<Res Name="VATrateE" Value="00.00" Type="Decimal"/>
<Res Name="VATrateF" Value="00.00" Type="Decimal"/>
</Res>
-Error response. Res Code is not 0.
<Res Code="40">
<Err Type="FPException" STE1="30" STE2="34" FPLibErrorCode="04">
<Message>
FP: OK; Command: Syntax error. FP: 06 71 30 34 37 35 0A
</Message>
</Err>
</Res>
Notes:
-All commands can be executed from a browser.
-The full list of commands and their definition may be retrieved from http://localhost:4444
-Тhe same usage rules and error checks apply.
-If the command has no parameters the brackets may be omitted.
-Commands and parameters are not case sensitive.