srs-api/test/fixtures/orders/spaced-dash-2026-11-04.expected.json
Aswin Biju 3640b2d785 feat(whatsapp): read slip photos and add them to the order
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.
2026-11-04 13:46:50 +05:30

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": []
}