Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datecs DT-150 MX error E409 Last receipt number is empty #182

Open
TaHuC opened this issue Apr 19, 2023 · 4 comments
Open

datecs DT-150 MX error E409 Last receipt number is empty #182

TaHuC opened this issue Apr 19, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@TaHuC
Copy link

TaHuC commented Apr 19, 2023

The answer from the cash register:
{"receiptNumber":"","receiptDateTime":"2023-04-19T10:36:51","receiptAmount":42.00,"fiscalMemorySerialNumber":"02944406","ok":false,"messages":[{"type":"info","text":"Error occurred while reading last receipt number"},{"type":"error","code":"E409","text":"Last receipt number is empty"},{"type":"info","text":"Error occured while printing receipt items"}]}

I send:
{"uniqueSaleNumber":"DT944406-0003-0000004","items":[{"type":"comment","text":" "},{"type":"comment","text":"Оператор: Стамен"},{"type":"comment","text":"Маса: 1"},{"type":"comment","text":" "},{"text":"СМЕТАНА","quantity":1,"unitPrice":0.4,"taxGroup":4}],"payments":[{"paymentType":"cash","amount":0.4}]}

Pls help!!!

@TaHuC TaHuC added the bug Something isn't working label Apr 19, 2023
@iveivanov
Copy link

Hello,
Check the operator password in the fiscal device if it matches the default password in ErpNet.FP:
https://github.com/erpnet/ErpNet.FP#default-passwords-we-use-in-the-library

@o-ivanov
Copy link
Contributor

Hello,
This error arises after sending "close receipt" command. Command fails if total payment amount is less than receipt amount. Fiscal receipt stays open, and neither be finished nor other receipt can be opened.
In your response there is a discrepancy shown between
"receiptAmount":42.00
and
"paymentType":"cash","amount":0.4

Better use software tool provided by manufacturer of fiscal device to close currently open receipt!

@moynzzz
Copy link

moynzzz commented Aug 5, 2023

Hello,

I also have the same error on DT-150MX:

Here is my request/response, my pricing is allright:

Request:
{"uniqueSaleNumber":"DT949353-0001-0000605","items":[{"type":"comment","text":"\u0420\u0435\u0437\u0435\u0440\u0432\u0430\u0446\u0438\u044f #441968"},{"text":"\u041a\u043e\u043d\u0441\u0443\u043b\u0442\u0430\u0446\u0438\u044f \u0441 \u043b\u0435\u043a\u0430\u0440","quantity":1.0,"unitPrice":1.0,"taxGroup":1}],"payments":[{"paymentType":"cash","amount":1.0}]}

Response:
{"receiptNumber":"","receiptDateTime":"2023-08-05T12:50:41","receiptAmount":2.00,"fiscalMemorySerialNumber":"02949353","ok":false,"messages":[{"type":"info","text":"Error occurred while reading last receipt number"},{"type":"error","code":"E409","text":"Last receipt number is empty"},{"type":"info","text":"Error occured while printing receipt items"}]}

@rosen4o
Copy link
Contributor

rosen4o commented Jan 30, 2024

I have DP-150MX which is working normally without any problem.
You should change default operator password for operator 1 from 1 to 0000 so everything will work normally without sending operator password.
Just bg.dt.x.isl is using as default operator password for operator 1 - 0000.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants