erpnet / ErpNet.FP

ErpNet.FP is a light-weight cross-platform Http server facilitating printing to fiscal printers through simple JSON Api.
BSD Zero Clause License
106 stars 61 forks source link

DATECS FP300 Error on Post Receipt #158

Open dicksonkimeu opened 3 years ago

dicksonkimeu commented 3 years ago

REQUEST

{ "uniqueSaleNumber": "DT279013-0008-5000002", "items": [ { "text": "Cheese", "quantity": 1, "unitPrice": 12, "taxGroup": 1 }, { "text": "Milk", "quantity": 2, "unitPrice": 10, "taxGroup": 1 } ], "payments": [ { "amount": 32, "paymentType": "cash" } ] }

ERROR / RESPONSE

{ "receiptNumber": "", "receiptDateTime": "0001-01-01T00:00:00", "receiptAmount": 0.0, "fiscalMemorySerialNumber": "", "ok": false, "messages": [ { "type": "error", "code": "E199", "text": "General error" }, { "type": "info", "text": "No customer display is connected" }, { "type": "error", "code": "E404", "text": "The command is not allowed in the current fiscal mode" }, { "type": "info", "text": "SW7=ON, SW6=ON, SW5=OFF, SW4=OFF, SW3=ON, SW2=OFF, SW1=ON" }, { "type": "info", "text": "Unique Printer ID and Fiscal Memory ID are set" }, { "type": "info", "text": "The tax rates are set at least once" }, { "type": "info", "text": "The fiscal memory is formatted" }, { "type": "info", "text": "Error occured while opening new fiscal receipt" } ] }

MihranThalhath commented 2 years ago

@dicksonkimeu did you solve this?