Intent ID: 37
{
"awb": "PC604004393",
"items": [
{
"boxes": 1,
"length": null,
"variety": "PINK OHARA",
"category": null,
"quantity": null,
"box_number": "1",
"plantation": null,
"unit_price": 0.7,
"box_marking": null,
"total_price": 52.5
}
],
"country": "ECUADOR",
"summary": {
"total_boxes": 0.25,
"total_stems": 0,
"total_amount": null
},
"supplier": "GROWER:ROSAS DEL CORAZON ROSASLESANDI CIA LTDA",
"invoice_date": "03/04/2026",
"invoice_number": "2232157",
"processing_report": {
"notes": "Invoice type: flat. 1 physical item (box) identified. Multibox disclosure not applicable.\nColumn indices in transformation rules (e.g., col 26 for headers, col 15 for description, col 20 for boxes, col 23 for stems) did not match the provided OCR table structure (7 columns). Field extraction for items was performed based on content and best judgment. Consequently, 'boxes' for items defaulted to 1, and 'quantity' for items could not be extracted (set to null).\nSupplier and Country fields were extracted from OCR metadata as they were not clearly derivable from 'sections' according to rules, or rules led to nonsensical values.\nUnit price and total price for items were extracted based on their presence in the OCR table, despite rules stating 'не заполнять'.",
"status": "warning",
"sum_boxes": 1,
"sum_stems": 0,
"sum_amount": 52.5,
"items_count": 1,
"discrepancies": [
"Sum of item boxes (1) does not match expected total boxes (0.250).",
"Sum of item total prices (52.50) does not match expected total amount (90.00).",
"Items quantity could not be extracted as specified by rules, sum of stems is 0."
],
"expected_boxes": 0.25,
"expected_stems": null,
"expected_amount": 90.0
}
}
{
"awb": "PC602018136",
"items": [
{
"boxes": 50,
"length": null,
"variety": "PINKPIANO",
"category": null,
"quantity": 96,
"box_number": "1",
"plantation": "TDA",
"unit_price": null,
"box_marking": null,
"total_price": null
},
{
"boxes": 50,
"length": null,
"variety": "NOTTINGHILL",
"category": null,
"quantity": 288,
"box_number": "2",
"plantation": "TDA",
"unit_price": null,
"box_marking": null,
"total_price": null
}
],
"country": null,
"summary": {
"total_boxes": 0.75,
"total_stems": 384,
"total_amount": null
},
"supplier": "ROSASDELCORAZONROSASLESANDICIALTDA",
"invoice_date": "16/02/2026",
"invoice_number": "2226936",
"processing_report": {
"notes": "Плоский инвойс. Обнаружено 100 физических коробок (сумма items[].boxes). Значение summary.total_boxes (0.75) не совпадает с суммой items[].boxes (100). Проблема с извлечением страны по указанному правилу. Раскрытие мультибокса не применялось.",
"status": "warning",
"sum_boxes": 2,
"sum_stems": 384,
"sum_amount": null,
"items_count": 2,
"discrepancies": [
"Country extraction rule ambiguity: 'Взять строку, следующую за строкой с 'PHONE:' в шапке поставщика, и извлечь последнее слово' resulted in a non-country value. Field set to null.",
"Sum of items boxes (100) does not match summary.total_boxes (0.75)."
],
"expected_boxes": 0.75,
"expected_stems": 384,
"expected_amount": null
}
}
| ID | Файл | Дата | |
|---|---|---|---|
| 22 | P_TDA_2226936.pdf | 2026-02-23 17:02:17.969283+00:00 | Excel |