Intent: PJ DAVE FLORA

v4 2026-03-23 13:09:15.806767+00:00 by: processing_log
Поставщик
Rules для трансформации (OCR → 1С)
Правила трансформации OCR-данных в целевую схему (включая валидацию).
Доступные справочники для shortcode
varities {{ref:varities}}
test {{ref:test}}
Последний сырой OCR (из песочницы)
{
  "awb": null,
  "items": [
    {
      "boxes": 1,
      "length": "40",
      "variety": "La Belle",
      "category": null,
      "quantity": 500,
      "box_number": "BOX1",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.1,
      "box_marking": "Zim-99x40x25",
      "total_price": 50.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "Madam Cerise",
      "category": null,
      "quantity": 100,
      "box_number": "BOX2",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.1,
      "box_marking": "",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "Madam Red",
      "category": null,
      "quantity": 600,
      "box_number": "BOX3",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.1,
      "box_marking": "Zim-99x40x25",
      "total_price": 60.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "Madam Red",
      "category": null,
      "quantity": 600,
      "box_number": "BOX4",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.1,
      "box_marking": "Zim-99x40x25",
      "total_price": 60.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "Madam Red",
      "category": null,
      "quantity": 600,
      "box_number": "BOX5",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.1,
      "box_marking": "Zim-99x40x25",
      "total_price": 60.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "Madam Red",
      "category": null,
      "quantity": 600,
      "box_number": "BOX6",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.1,
      "box_marking": "Zim-99x40x25",
      "total_price": 60.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "Madam Red",
      "category": null,
      "quantity": 600,
      "box_number": "BOX7",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.1,
      "box_marking": "Zim-99x40x25",
      "total_price": 60.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "Madam Red",
      "category": null,
      "quantity": 600,
      "box_number": "BOX8",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.1,
      "box_marking": "Zim-99x40x25",
      "total_price": 60.0
    },
    {
      "boxes": 1,
      "length": "35",
      "variety": "Mix",
      "category": "Mixed",
      "quantity": 600,
      "box_number": "BOX9",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.07,
      "box_marking": "Zim-99x40x25",
      "total_price": 42.0
    },
    {
      "boxes": 1,
      "length": "35",
      "variety": "Mix",
      "category": "Mixed",
      "quantity": 600,
      "box_number": "BOX10",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.07,
      "box_marking": "Zim-99x40x25",
      "total_price": 42.0
    },
    {
      "boxes": 1,
      "length": "35",
      "variety": "Mix",
      "category": "Mixed",
      "quantity": 600,
      "box_number": "BOX11",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.07,
      "box_marking": "Zim-99x40x25",
      "total_price": 42.0
    },
    {
      "boxes": 1,
      "length": "35",
      "variety": "Mix",
      "category": "Mixed",
      "quantity": 600,
      "box_number": "BOX12",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.07,
      "box_marking": "Zim-99x40x25",
      "total_price": 42.0
    },
    {
      "boxes": 1,
      "length": "35",
      "variety": "Mix",
      "category": "Mixed",
      "quantity": 600,
      "box_number": "BOX13",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.07,
      "box_marking": "Zim-99x40x25",
      "total_price": 42.0
    },
    {
      "boxes": 1,
      "length": "35",
      "variety": "Mix",
      "category": "Mixed",
      "quantity": 600,
      "box_number": "BOX14",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.07,
      "box_marking": "Zim-99x40x25",
      "total_price": 42.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "Rhodos",
      "category": null,
      "quantity": 360,
      "box_number": "BOX15",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.13,
      "box_marking": "Zim-99x40x25",
      "total_price": 46.8
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "Rhodos",
      "category": null,
      "quantity": 360,
      "box_number": "BOX16",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.13,
      "box_marking": "Zim-99x40x25",
      "total_price": 46.8
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "Rhodos",
      "category": null,
      "quantity": 360,
      "box_number": "BOX17",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.13,
      "box_marking": "Zim-99x40x25",
      "total_price": 46.8
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "Rhodos",
      "category": null,
      "quantity": 360,
      "box_number": "BOX18",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.13,
      "box_marking": "Zim-99x40x25",
      "total_price": 46.8
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "Rhodos",
      "category": null,
      "quantity": 360,
      "box_number": "BOX19",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.13,
      "box_marking": "Zim-99x40x25",
      "total_price": 46.8
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "Rhodos",
      "category": null,
      "quantity": 360,
      "box_number": "BOX20",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.13,
      "box_marking": "Zim-99x40x25",
      "total_price": 46.8
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "Rhodos",
      "category": null,
      "quantity": 360,
      "box_number": "BOX21",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.13,
      "box_marking": "Zim-99x40x25",
      "total_price": 46.8
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "Rhodos",
      "category": null,
      "quantity": 360,
      "box_number": "BOX22",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.13,
      "box_marking": "Zim-99x40x25",
      "total_price": 46.8
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "Rhodos",
      "category": null,
      "quantity": 360,
      "box_number": "BOX23",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.13,
      "box_marking": "Zim-99x40x25",
      "total_price": 46.8
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "Rhodos",
      "category": null,
      "quantity": 360,
      "box_number": "BOX24",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.13,
      "box_marking": "Zim-99x40x25",
      "total_price": 46.8
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "Athena",
      "category": null,
      "quantity": 600,
      "box_number": "BOX25",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.1,
      "box_marking": "Zim-99x40x25",
      "total_price": 60.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "Athena",
      "category": null,
      "quantity": 600,
      "box_number": "BOX26",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.1,
      "box_marking": "Zim-99x40x25",
      "total_price": 60.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "Athena",
      "category": null,
      "quantity": 600,
      "box_number": "BOX27",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.1,
      "box_marking": "Zim-99x40x25",
      "total_price": 60.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "Athena",
      "category": null,
      "quantity": 600,
      "box_number": "BOX28",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.1,
      "box_marking": "Zim-99x40x25",
      "total_price": 60.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "Athena",
      "category": null,
      "quantity": 600,
      "box_number": "BOX29",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": 0.1,
      "box_marking": "Zim-99x40x25",
      "total_price": 60.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "Smoothie",
      "category": null,
      "quantity": 600,
      "box_number": "BOX30",
      "plantation": "P.J. Dave Flora Limited",
      "unit_price": null,
      "box_marking": "Zim-99x40x25",
      "total_price": null
    }
  ],
  "country": "KENYA",
  "summary": {
    "total_boxes": 29,
    "total_stems": 15000,
    "total_amount": 1500.0
  },
  "supplier": "P.J. Dave Flora Limited",
  "invoice_date": "21.03.2026",
  "invoice_number": "FINV93126",
  "processing_report": {
    "notes": "Invoice type: flat (B). 29 physical boxes were detected (plus one malformed item). Multi-box expansion was applied for items where 'Bxs' > 1. Column misalignment in the second item block (Smoothie-40cms) caused missing data for price and total for that item, as fixed column indexing rules were strictly followed. This impacts total calculations.",
    "status": "warning",
    "sum_boxes": 30,
    "sum_stems": 14900,
    "sum_amount": 1446.8,
    "items_count": 30,
    "discrepancies": [
      "Item BOX30 has missing unit_price.",
      "Item BOX30 has missing total_price.",
      "Calculated total_stems (14900) does not match summary.total_stems (15000). Difference: -100.",
      "Calculated total_amount (1446.8) does not match summary.total_amount (1500). Difference: -53.2.",
      "Calculated total_boxes (30) does not match summary.total_boxes (29). Difference: 1."
    ],
    "expected_boxes": 29,
    "expected_stems": 15000,
    "expected_amount": 1500
  }
}
Документы поставщика
Файл Источник Статус Дата Действия
THAZALIA buketopt 04-04-2026.pdf
email done 04.04 05:21
Файл XLSX
thazalia-tda 04-04-2026.pdf
email done 04.04 05:20
Файл XLSX
THAZALIA buketopt 28-03-2026.pdf
email error
DashScope OCR API error 400: {"code":"Arrearage","message":"Access denied, pleas
28.03 04:40
Файл
THAZALIA tda 28-03-2026.pdf
email error
DashScope OCR API error 400: {"code":"Arrearage","message":"Access denied, pleas
28.03 04:40
Файл
THAZALIA BUKE 21-03-2026.pdf
email done 21.03 06:00
Файл XLSX
THAZALIA TDA 21-03-2026.pdf
email done 21.03 06:00
Файл XLSX
THAZALIA 14.03.2026..--.pdf
email done 14.03 06:28
Файл XLSX
THAZALIA 14.03.2026..-.pdf
email done 14.03 06:27
Файл XLSX
THAZALIA 07-03-2026.pdf
email done 07.03 05:50
Файл XLSX
THAZALIA BUKETOPT 07-03-2026.pdf
email done 07.03 05:49
Файл XLSX
THAZALIA 27.02.2026...pdf
email done 27.02 06:04
Файл XLSX
THAZALIA 27.02.2026..-.pdf
email done 27.02 06:03
Файл XLSX
THAZALIA 20.02.2026.T.pdf
email done 23.02 11:16
Файл XLSX
THAZALIA 20.02.2026B.pdf
email done 23.02 11:16
Файл XLSX
THAZALIA 20.02.2026.T.pdf
email done 20.02 05:31
XLSX
THAZALIA 20.02.2026B.pdf
email done 20.02 05:31
XLSX