Intent ID: 43
{
"awb": null,
"items": [
{
"boxes": 1,
"length": "50",
"variety": "Candlelight",
"category": "ROSES",
"quantity": 4,
"box_number": "1-1 Q",
"plantation": null,
"unit_price": 0.5,
"box_marking": "B",
"total_price": 50.0
}
],
"country": "Kyrgyzstan",
"summary": {
"total_boxes": null,
"total_stems": 100,
"total_amount": 50.0
},
"supplier": null,
"invoice_date": "2026-03-19",
"invoice_number": "001232235",
"processing_report": {
"notes": "Тип инвойса: плоский (Б). Обнаружено 1 физическая коробка. В OCR не удалось найти явного поставщика. Обнаружены расхождения в суммарных значениях стеблей/коробок. Раскрытие мультибокса не применялось.",
"status": "warning",
"sum_boxes": 1,
"sum_stems": 4,
"sum_amount": 50.0,
"items_count": 1,
"discrepancies": [
"The column indices provided in the rules did not perfectly match the actual OCR table header. Adjustments were made to map to the correct data (e.g., 'Order' is index 2, not 1; 'Bun/Box' for item quantity is index 12, not 6; 'Stems' for total stems is index 14; 'Total' for item/summary amount is index 16, not 10).",
"Item 1: plantation field is null, but rule for generating box_number requires it if box_number is empty (not the case here).",
"Calculated sum of items[].quantity (4) does not match summary.total_stems (100). The `Bun/Box` column was used for item quantity (4), while the `Stems` column (100) was used for summary total stems, implying they represent different metrics.",
"Calculated sum of items[].boxes (1) does not match expected total boxes (null). The 'Boxes' column in the 'Totals' row was empty.",
"Summary total_boxes could not be extracted and is null."
],
"expected_boxes": null,
"expected_stems": 100,
"expected_amount": 50.0
}
}
| ID | Файл | Дата |
|---|