Intent: MUCH

v2 2026-03-23 13:09:18.972151+00:00 by: processing_log
Поставщик
Rules для трансформации (OCR → 1С)
Правила трансформации OCR-данных в целевую схему (включая валидацию).
Доступные справочники для shortcode
varities {{ref:varities}}
test {{ref:test}}
Последний сырой OCR (из песочницы)
{
  "awb": "PC603016608",
  "items": [
    {
      "boxes": 0.3333333333333333,
      "length": "50",
      "variety": "CABARET",
      "category": "ROSES",
      "quantity": 50,
      "box_number": "Alt-1",
      "plantation": "Alto Exportcalas",
      "unit_price": 0.28,
      "box_marking": "HB 1 (33.46*14.4*13.78)",
      "total_price": 14.0
    },
    {
      "boxes": 0.3333333333333333,
      "length": "60",
      "variety": "CABARET",
      "category": "ROSES",
      "quantity": 50,
      "box_number": "Alt-1",
      "plantation": "Alto Exportcalas",
      "unit_price": 0.32,
      "box_marking": "HB 1 (33.46*14.4*13.78)",
      "total_price": 16.0
    },
    {
      "boxes": 0.3333333333333333,
      "length": "40",
      "variety": "PINK XPRESSION",
      "category": "ROSES",
      "quantity": 100,
      "box_number": "Alt-1",
      "plantation": "Alto Exportcalas",
      "unit_price": 0.25,
      "box_marking": "HB 1 (33.46*14.4*13.78)",
      "total_price": 25.0
    },
    {
      "boxes": 0.2,
      "length": "40",
      "variety": "CANDY XPRESSION",
      "category": "ROSES",
      "quantity": 200,
      "box_number": "Ros-2",
      "plantation": "Rosaspe",
      "unit_price": 0.25,
      "box_marking": "HB 3 (47.24*24.5*13.78)",
      "total_price": 50.0
    },
    {
      "boxes": 0.2,
      "length": "40",
      "variety": "COUNTRY BLUES",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "Ros-2",
      "plantation": "Rosaspe",
      "unit_price": 0.25,
      "box_marking": "HB 3 (47.24*24.5*13.78)",
      "total_price": 6.25
    },
    {
      "boxes": 0.2,
      "length": "50",
      "variety": "COUNTRY BLUES",
      "category": "ROSES",
      "quantity": 75,
      "box_number": "Ros-2",
      "plantation": "Rosaspe",
      "unit_price": 0.4,
      "box_marking": "HB 3 (47.24*24.5*13.78)",
      "total_price": 30.0
    },
    {
      "boxes": 0.2,
      "length": "60",
      "variety": "ESPERANCE",
      "category": "ROSES",
      "quantity": 50,
      "box_number": "Ros-2",
      "plantation": "Rosaspe",
      "unit_price": 0.4,
      "box_marking": "HB 3 (47.24*24.5*13.78)",
      "total_price": 20.0
    },
    {
      "boxes": 0.2,
      "length": "50",
      "variety": "MELON X-PRESSION",
      "category": "ROSES",
      "quantity": 50,
      "box_number": "Ros-2",
      "plantation": "Rosaspe",
      "unit_price": 0.4,
      "box_marking": "HB 3 (47.24*24.5*13.78)",
      "total_price": 20.0
    }
  ],
  "country": "KZ",
  "summary": {
    "total_boxes": 2,
    "total_stems": 600,
    "total_amount": 181.25
  },
  "supplier": "TDA KAZAKHSTAN KAZAKHSTAN",
  "invoice_date": "2026-03-20",
  "invoice_number": "90406046",
  "processing_report": {
    "notes": "Тип инвойса: Гибридный. Обнаружено 2 физических коробки. Все item.box_number были сгенерированы. Раскрытие мультибокса не применялось, так как все заголовки MIXED BOX имели boxes=1. Для строк-деталей MIXED BOX 'boxes' рассчитаны пропорционально.",
    "status": "ok",
    "sum_boxes": 2.0,
    "sum_stems": 600,
    "sum_amount": 181.25,
    "items_count": 8,
    "discrepancies": [],
    "expected_boxes": 2,
    "expected_stems": 600,
    "expected_amount": 181.25
  }
}
Документы поставщика
Файл Источник Статус Дата Действия
90406046.pdf
email done 21.03 13:23
Файл XLSX
90403145.pdf
email done 06.03 19:25
Файл XLSX
90403188.pdf
email done 06.03 19:24
Файл XLSX
90399825.pdf
email done 23.02 10:49
Файл XLSX
90399824.pdf
email done 23.02 10:48
Файл XLSX
90399825.pdf
email done 18.02 19:26
XLSX
90399824.pdf
email done 18.02 19:26
XLSX