Intent: EQR USA - GROWER

v4 2026-05-08 18:27:43.831966+00:00 by: processing_log
Поставщик
Rules для трансформации (OCR → 1С)
Правила трансформации OCR-данных в целевую схему (включая валидацию).
Доступные справочники для shortcode
varities {{ref:varities}}
test {{ref:test}}
Последний сырой OCR (из песочницы)
{
  "awb": "145-99817664",
  "items": [
    {
      "boxes": 1,
      "length": "40",
      "variety": "Bi - Color Orange High & Orange",
      "category": "Rose",
      "quantity": 500,
      "box_number": "EQU1",
      "plantation": "EQUATOROSES",
      "unit_price": 0.22,
      "box_marking": "BUKETOPT",
      "total_price": 110.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "Lavender Soulmate",
      "category": "Rose",
      "quantity": 500,
      "box_number": "EQU2",
      "plantation": "EQUATOROSES",
      "unit_price": 0.2,
      "box_marking": "BUKETOPT",
      "total_price": 100.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "Light Pink Rosita Vendela",
      "category": "Rose",
      "quantity": 500,
      "box_number": "EQU3",
      "plantation": "EQUATOROSES",
      "unit_price": 0.25,
      "box_marking": "BUKETOPT",
      "total_price": 125.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "Red Fortune",
      "category": "Rose",
      "quantity": 400,
      "box_number": "EQU4",
      "plantation": "EQUATOROSES",
      "unit_price": 0.3,
      "box_marking": "BUKETOPT",
      "total_price": 120.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "Red Fortune",
      "category": "Rose",
      "quantity": 400,
      "box_number": "EQU5",
      "plantation": "EQUATOROSES",
      "unit_price": 0.3,
      "box_marking": "BUKETOPT",
      "total_price": 120.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "Red Fortune",
      "category": "Rose",
      "quantity": 400,
      "box_number": "EQU6",
      "plantation": "EQUATOROSES",
      "unit_price": 0.3,
      "box_marking": "BUKETOPT",
      "total_price": 120.0
    }
  ],
  "country": "USA",
  "summary": {
    "total_boxes": 6,
    "total_stems": 2700,
    "total_amount": 695.0
  },
  "supplier": "EQUATOROSES",
  "invoice_date": "03/19/2026",
  "invoice_number": "591307",
  "processing_report": {
    "notes": "Тип инвойса: составной (несколько позиций в одной строке, одна позиция = несколько физических коробок). Обработано 6 физических коробок. Применено раскрытие мультибокса из одной сгруппированной строки. Проблем при извлечении не обнаружено.",
    "status": "ok",
    "sum_boxes": 6,
    "sum_stems": 2700,
    "sum_amount": 695.0,
    "items_count": 6,
    "discrepancies": [],
    "expected_boxes": 6,
    "expected_stems": 2700,
    "expected_amount": 695.0
  }
}
Документы поставщика
Файл Источник Статус Дата Действия
Invoice 594205.pdf
email ocr_only 02.04 21:16
Файл
Invoice 594229.pdf
email done 02.04 21:13
Файл XLSX
Invoice 592827.pdf
email error
DashScope OCR API error 400: {"code":"Arrearage","message":"Access denied, pleas
26.03 22:07
Файл
Invoice 592848.pdf
email error
DashScope OCR API error 400: {"code":"Arrearage","message":"Access denied, pleas
26.03 22:06
Файл
Invoice 591335.pdf
email done 19.03 20:52
Файл XLSX
Invoice 591307.pdf
email done 19.03 20:51
Файл XLSX
Invoice 589936.pdf
email done 12.03 21:47
Файл XLSX
Invoice 589911.pdf
email done 12.03 21:46
Файл XLSX
Invoice 588724.pdf
email done 05.03 21:08
Файл XLSX
Invoice 588747.pdf
email done 05.03 21:07
Файл XLSX
Invoice 587587.pdf
email done 26.02 22:28
Файл XLSX
Invoice 586242.pdf
email done 23.02 11:15
Файл XLSX
Invoice 586183.pdf
email done 23.02 11:14
Файл XLSX
test_invoice.xlsx
upload done 04.03 04:06
Файл XLSX
test_invoice.xlsx
upload done 04.03 04:06
Файл XLSX