Intent: FRAMA
v4
2026-03-23 13:09:35.949590+00:00
by: processing_log
Поставщик
Rules для трансформации (OCR → 1С)
Правила трансформации OCR-данных в целевую схему (включая валидацию).
Доступные справочники для shortcode
varities
{{ref:varities}}
test
{{ref:test}}
Последний сырой OCR (из песочницы)
{
"awb": "PC603016098",
"items": [
{
"boxes": 1,
"length": "50CM",
"variety": "MIX",
"category": "ROSES",
"quantity": 350,
"box_number": "F1",
"plantation": "FRAMA FLOWERS",
"unit_price": 0.35,
"box_marking": "TDA-SEMENOV",
"total_price": 122.5
},
{
"boxes": 1,
"length": "50CM",
"variety": "MIX",
"category": "ROSES",
"quantity": 350,
"box_number": "F2",
"plantation": "FRAMA FLOWERS",
"unit_price": 0.35,
"box_marking": "TDA-SEMENOV",
"total_price": 122.5
},
{
"boxes": 1,
"length": "50CM",
"variety": "MIX",
"category": "ROSES",
"quantity": 350,
"box_number": "F3",
"plantation": "FRAMA FLOWERS",
"unit_price": 0.35,
"box_marking": "TDA-SEMENOV",
"total_price": 122.5
},
{
"boxes": 1,
"length": "50CM",
"variety": "MIX",
"category": "ROSES",
"quantity": 350,
"box_number": "F4",
"plantation": "FRAMA FLOWERS",
"unit_price": 0.35,
"box_marking": "TDA-SEMENOV",
"total_price": 122.5
},
{
"boxes": 1,
"length": "50CM",
"variety": "MIX",
"category": "ROSES",
"quantity": 350,
"box_number": "F5",
"plantation": "FRAMA FLOWERS",
"unit_price": 0.35,
"box_marking": "TDA-SEMENOV",
"total_price": 122.5
},
{
"boxes": 1,
"length": "50CM",
"variety": "MIX",
"category": "ROSES",
"quantity": 350,
"box_number": "F6",
"plantation": "FRAMA FLOWERS",
"unit_price": 0.35,
"box_marking": "TDA-SEMENOV",
"total_price": 122.5
},
{
"boxes": 1,
"length": "50CM",
"variety": "MIX",
"category": "ROSES",
"quantity": 350,
"box_number": "F7",
"plantation": "FRAMA FLOWERS",
"unit_price": 0.35,
"box_marking": "TDA-SEMENOV",
"total_price": 122.5
},
{
"boxes": 1,
"length": "50CM",
"variety": "MIX",
"category": "ROSES",
"quantity": 350,
"box_number": "F8",
"plantation": "FRAMA FLOWERS",
"unit_price": 0.35,
"box_marking": "TDA-SEMENOV",
"total_price": 122.5
}
],
"country": "Kazakhstan",
"summary": {
"total_boxes": 8,
"total_stems": 2800,
"total_amount": 980
},
"supplier": "FRAMA FLOWERS",
"invoice_date": "03/20/2026",
"invoice_number": "5045369",
"processing_report": {
"notes": "Тип инвойса: Гибридный (составные + individual). Обнаружено 8 физических коробок. Применено раскрытие мультибокса (1 строка с 8 коробками преобразована в 8 отдельных позиций).",
"status": "ok",
"sum_boxes": 8,
"sum_stems": 2800,
"sum_amount": 980,
"items_count": 8,
"discrepancies": [],
"expected_boxes": 8,
"expected_stems": 2800,
"expected_amount": 980
}
}