Песочница: QUALISA

Intent ID: 16

Назад
1) Загрузить файл и получить сырой OCR JSON
Сохраняем последний файл и сырой OCR, чтобы можно было повторно тестировать маппинг без перезагрузки.
Скачать последний файл (5570524.pdf)
2) Правила трансформации
Правила трансформации OCR-данных в целевую схему (включая валидацию).
Промпт LLM-подсказки
Используется кнопкой «Подсказать rules».
Сырой OCR JSON (Pass 1)
{}
Результат (Pass 2)
Report: ok
items=41, boxes=4/4, stems=1700.0/1700, amount=534.0/534.0
notes: Тип инвойса: Гибридный. 4 физических коробок обнаружено. Проблем при извлечении не обнаружено.
{
  "awb": "PC602020704",
  "items": [
    {
      "boxes": 1,
      "length": "50",
      "variety": "BARISTA",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344938",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "CANCUN",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344938",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "CANDLELIGHT",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344938",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.5,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 12.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "COUNTRY HOME",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344938",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "MONDIAL",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344938",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "MOODY BLUES",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344938",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "NAUTICA",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344938",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "ORANGE ENIGMA",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344938",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "PINK MONDIAL",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344938",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SHIMMER",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344938",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SNOW BLISS",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344938",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SWEET UNIQUE",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344938",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.28,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SWEET UNIQUE",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344938",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.28,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "TABATHA",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344938",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "V.I.PINK",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344938",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "VENDELA",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344938",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "CANCUN",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344596",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "CHRISTA",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344596",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "COUNTRY HOME",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344596",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "FREE SPIRIT",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344596",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "HIGH & MAGIC",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344596",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "HOTSPOT",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344596",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "MONDIAL",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344596",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "MOONSTONE",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344596",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "NOVIA",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344596",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "PHOENIX",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344596",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "PINK MONDIAL",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344596",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "PINK X-PRESSION",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344596",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "PRINCESS CROWN",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344596",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "QUEEN'S CROWN",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344596",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "RED PARIS",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344596",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "ROSITA VENDELA",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344596",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "VENDELA",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344596",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 3 (120*45*35)",
      "total_price": 7.5
    },
    {
      "boxes": 16,
      "length": "50",
      "variety": "FORTUNE",
      "category": "ROSES",
      "quantity": 400,
      "box_number": "5195711",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 2 (120*35*35)",
      "total_price": 120.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "FORTUNE",
      "category": "ROSES",
      "quantity": 50,
      "box_number": "5344996",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 2 (120*35*35)",
      "total_price": 15.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "FORTUNE",
      "category": "ROSES",
      "quantity": 125,
      "box_number": "5344996",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.38,
      "box_marking": "HB 2 (120*35*35)",
      "total_price": 47.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "KAHALA",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344996",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.4,
      "box_marking": "HB 2 (120*35*35)",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "MOODY BLUES",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344996",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 2 (120*35*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "70",
      "variety": "NINA",
      "category": "ROSES",
      "quantity": 50,
      "box_number": "5344996",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.45,
      "box_marking": "HB 2 (120*35*35)",
      "total_price": 22.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "PINK MONDIAL",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344996",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 2 (120*35*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "QUEEN BERRY",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344996",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 2 (120*35*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "QUEEN'S CROWN",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344996",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 2 (120*35*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SHIMMER",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344996",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 2 (120*35*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SWEET BEAT",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344996",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 2 (120*35*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SWEET UNIQUE",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344996",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 2 (120*35*35)",
      "total_price": 7.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "VENDELA",
      "category": "ROSES",
      "quantity": 25,
      "box_number": "5344996",
      "plantation": "OOO TRADE HOUSE AZALIA",
      "unit_price": 0.3,
      "box_marking": "HB 2 (120*35*35)",
      "total_price": 7.5
    }
  ],
  "country": "Kyrgyzstan",
  "summary": {
    "total_boxes": 4,
    "total_stems": 1700,
    "total_amount": 534.0
  },
  "supplier": "OOO TRADE HOUSE AZALIA",
  "invoice_date": "02/18/2026",
  "invoice_number": "5566249",
  "processing_report": {
    "notes": "Тип инвойса: Гибридный. 4 физических коробок обнаружено. Проблем при извлечении не обнаружено.",
    "status": "ok",
    "sum_boxes": 4,
    "sum_stems": 1700.0,
    "sum_amount": 534.0,
    "items_count": 41,
    "discrepancies": [],
    "expected_boxes": 4,
    "expected_stems": 1700,
    "expected_amount": 534.0
  }
}
История (последние 20)
ID Файл Дата
42 5566249 (1).pdf 2026-02-24 11:22:19.780563+00:00 Excel
39 5566249.pdf 2026-02-24 05:37:57.569509+00:00 Excel
31 5566249.pdf 2026-02-23 17:28:03.256296+00:00 Excel
10 5565281 (1).pdf 2026-02-23 08:52:36.315765+00:00 Excel
9 5565281 (1).pdf 2026-02-23 08:25:16.492811+00:00 Excel
8 5565281 (1).pdf 2026-02-23 08:13:32.849690+00:00 Excel
7 5565281.pdf 2026-02-23 06:53:13.646963+00:00 Excel
6 5565281.pdf 2026-02-23 06:53:10.991855+00:00 Excel
5 5565281.pdf 2026-02-23 06:52:19.638963+00:00 Excel
4 5565281.pdf 2026-02-23 03:55:40.038146+00:00 Excel
3 5565281.pdf 2026-02-23 03:50:41.557780+00:00 Excel
2 5565281.pdf 2026-02-23 03:46:13.735552+00:00 Excel
1 5565281.pdf 2026-02-23 03:35:43.822763+00:00 Excel