Hello Rafa,
applications with fiscal bills are implemented in our country before four years. I think it is very similar to yours problem. Our POS pc's send bill with ZKI number (uniq number calculated from bill number, date, time, POS ID ...) in XML format to government Tax Administration, signed by soft certificat (fiskal.p12). Government servers return signed XML answer with JIR (number which is unique and must be printed on bill).
Our FWH aplication use external DLL (C#) simply calling dll's function:
...
oCis:=CreateObject("FiskalizacijaDev.com.CentraniInformacijskiSustav")
cUUID:=oCis:generirajUUID()
...
Link for C# source and dll's:
Technical specification (only on Croatian):
If you find this informations useful, I will prepare and sent you Fivewin example.
Boris
↧