Shops can now send handwritten slips as WhatsApp photos. srs-api reads them through OpenRouter in the background. The model only proposes text: the parser decides what is an entry, and nothing is saved without the user's Save.
18 lines
389 B
JSON
18 lines
389 B
JSON
{
|
|
"totalTickets": 142,
|
|
"lines": [
|
|
"6379 x100 @1",
|
|
"2718 x20 @2",
|
|
"3141 x10 @3",
|
|
"1618 x5 @4",
|
|
"2236 x7 @5"
|
|
],
|
|
"repeated": [],
|
|
"unreadable": [
|
|
{ "text": "5104 - 5106", "line": 6, "reason": "bad_range" },
|
|
{ "text": "5204 -5206", "line": 7, "reason": "bad_range" },
|
|
{ "text": "4242 - 0", "line": 8, "reason": "zero_quantity" }
|
|
],
|
|
"ignored": []
|
|
}
|