Песочница: TESSACORPORATION

Intent ID: 17

Назад
1) Загрузить файл и получить сырой OCR JSON
Сохраняем последний файл и сырой OCR, чтобы можно было повторно тестировать маппинг без перезагрузки.
Скачать последний файл (90712901.pdf)
2) Правила трансформации
Правила трансформации OCR-данных в целевую схему (включая валидацию).
Промпт LLM-подсказки
Используется кнопкой «Подсказать rules».
Сырой OCR JSON (Pass 1)
{
  "awb": "145-99817594",
  "items": [
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY SUSPIRO",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910855510",
      "plantation": "TESSAP",
      "unit_price": 0.5,
      "box_marking": "QB3",
      "total_price": 5.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYWEDDINGSENSATION",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910855510",
      "plantation": "TESSAP",
      "unit_price": 0.5,
      "box_marking": "QB3",
      "total_price": 5.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY WHITEMAJOLIKA",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910855510",
      "plantation": "TESSAP",
      "unit_price": 0.4,
      "box_marking": "QB3",
      "total_price": 4.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYFIBONACCIYANTRA",
      "category": "Flowers",
      "quantity": 100,
      "box_number": "910855510",
      "plantation": "TESSAP",
      "unit_price": 0.6,
      "box_marking": "QB3",
      "total_price": 60.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYBELLALINDACERISE",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910855547",
      "plantation": "TESSAP",
      "unit_price": 0.6,
      "box_marking": "QB4",
      "total_price": 6.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAYFIBONACCI",
      "category": "Flowers",
      "quantity": 30,
      "box_number": "910855547",
      "plantation": "TESSAP",
      "unit_price": 0.7,
      "box_marking": "QB4",
      "total_price": 21.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAYFLOREANA",
      "category": "Flowers",
      "quantity": 50,
      "box_number": "910855547",
      "plantation": "TESSAP",
      "unit_price": 0.5,
      "box_marking": "QB4",
      "total_price": 25.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYSUSPIRO",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910855547",
      "plantation": "TESSAP",
      "unit_price": 0.5,
      "box_marking": "QB4",
      "total_price": 5.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAYSNOWFLAKE",
      "category": "Flowers",
      "quantity": 70,
      "box_number": "910855550",
      "plantation": "TESSAP",
      "unit_price": 0.4,
      "box_marking": "QB4",
      "total_price": 28.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYSUSPIRO",
      "category": "Flowers",
      "quantity": 30,
      "box_number": "910855550",
      "plantation": "TESSAP",
      "unit_price": 0.5,
      "box_marking": "QB4",
      "total_price": 15.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYBELLALINDACERISE",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910858451",
      "plantation": "TESSAP",
      "unit_price": 0.6,
      "box_marking": "HB",
      "total_price": 6.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAYBELLALINDACERISE",
      "category": "Flowers",
      "quantity": 20,
      "box_number": "910858451",
      "plantation": "TESSAP",
      "unit_price": 0.7,
      "box_marking": "HB",
      "total_price": 14.0
    },
    {
      "boxes": 1,
      "length": "70",
      "variety": "SPRAYBELLALINDACERISE",
      "category": "Flowers",
      "quantity": 20,
      "box_number": "910858451",
      "plantation": "TESSAP",
      "unit_price": 0.8,
      "box_marking": "HB",
      "total_price": 16.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYFIBONACCI",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910858451",
      "plantation": "TESSAP",
      "unit_price": 0.6,
      "box_marking": "HB",
      "total_price": 6.0
    },
    {
      "boxes": 1,
      "length": "70",
      "variety": "SPRAYFIBONACCI",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910858451",
      "plantation": "TESSAP",
      "unit_price": 0.8,
      "box_marking": "HB",
      "total_price": 8.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAYFLOREANA",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910858451",
      "plantation": "TESSAP",
      "unit_price": 0.5,
      "box_marking": "HB",
      "total_price": 5.0
    },
    {
      "boxes": 1,
      "length": "70",
      "variety": "SPRAYSUSPIRO",
      "category": "Flowers",
      "quantity": 20,
      "box_number": "910858451",
      "plantation": "TESSAP",
      "unit_price": 0.7,
      "box_marking": "HB",
      "total_price": 14.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYBELLALINDACERISE",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910858456",
      "plantation": "TESSAP",
      "unit_price": 0.6,
      "box_marking": "HB",
      "total_price": 6.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAYBELLALINDACERISE",
      "category": "Flowers",
      "quantity": 20,
      "box_number": "910858456",
      "plantation": "TESSAP",
      "unit_price": 0.7,
      "box_marking": "HB",
      "total_price": 14.0
    },
    {
      "boxes": 1,
      "length": "70",
      "variety": "SPRAYBELLALINDACERISE",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910858456",
      "plantation": "TESSAP",
      "unit_price": 0.8,
      "box_marking": "HB",
      "total_price": 8.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAYCRETA",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910858456",
      "plantation": "TESSAP",
      "unit_price": 0.6,
      "box_marking": "HB",
      "total_price": 6.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAYFLOREANA",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910858456",
      "plantation": "TESSAP",
      "unit_price": 0.5,
      "box_marking": "HB",
      "total_price": 5.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAY STARBLUSH",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910858456",
      "plantation": "TESSAP",
      "unit_price": 0.6,
      "box_marking": "HB",
      "total_price": 6.0
    },
    {
      "boxes": 1,
      "length": "70",
      "variety": "SPRAY STARBLUSH",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910858456",
      "plantation": "TESSAP",
      "unit_price": 0.7,
      "box_marking": "HB",
      "total_price": 7.0
    },
    {
      "boxes": 1,
      "length": "70",
      "variety": "SPRAY SUSPIRO",
      "category": "Flowers",
      "quantity": 20,
      "box_number": "910858456",
      "plantation": "TESSAP",
      "unit_price": 0.7,
      "box_marking": "HB",
      "total_price": 14.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAYAPRICOTJEWEL",
      "category": "Flowers",
      "quantity": 40,
      "box_number": "910855467",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 20.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAYCRETA",
      "category": "Flowers",
      "quantity": 20,
      "box_number": "910855467",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAYFLOREANA",
      "category": "Flowers",
      "quantity": 30,
      "box_number": "910855467",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 15.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAYGREENROSEVER",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910855467",
      "plantation": "TESSA-R3",
      "unit_price": 0.6,
      "box_marking": "HB XL 2",
      "total_price": 6.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAYMORNINGSTAR",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910855467",
      "plantation": "TESSA-R3",
      "unit_price": 0.6,
      "box_marking": "HB XL 2",
      "total_price": 6.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAYORANGE STAR",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910855467",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 5.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAYPEACH Y PINKJEWEL",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910855467",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 5.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAYPORTRAIT",
      "category": "Flowers",
      "quantity": 20,
      "box_number": "910855467",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAY SHINING STAR",
      "category": "Flowers",
      "quantity": 20,
      "box_number": "910855467",
      "plantation": "TESSA-R3",
      "unit_price": 0.6,
      "box_marking": "HB XL 2",
      "total_price": 12.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAYSNOWYJEWEL",
      "category": "Flowers",
      "quantity": 20,
      "box_number": "910855467",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAY STARBLUSH",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910855467",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 5.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAY SUSPIRO",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910855467",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 5.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAY SWEETDREAMS",
      "category": "Flowers",
      "quantity": 20,
      "box_number": "910855467",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAY VINTAGEROSEVER",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910855467",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 5.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY ELBA",
      "category": "Flowers",
      "quantity": 30,
      "box_number": "910858454",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "QB3",
      "total_price": 15.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAY ELBA",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910858454",
      "plantation": "TESSA-R3",
      "unit_price": 0.6,
      "box_marking": "QB3",
      "total_price": 6.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY FIBON ACCIAUREUS",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910858454",
      "plantation": "TESSA-R3",
      "unit_price": 0.6,
      "box_marking": "QB3",
      "total_price": 6.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAY FIBON ACCIAUREUS",
      "category": "Flowers",
      "quantity": 10,
      "box_number": "910858454",
      "plantation": "TESSA-R3",
      "unit_price": 0.7,
      "box_marking": "QB3",
      "total_price": 7.0
    },
    {
      "boxes": 1,
      "length": "70",
      "variety": "SPRAY FIBON ACCIAUREUS",
      "category": "Flowers",
      "quantity": 20,
      "box_number": "910858454",
      "plantation": "TESSA-R3",
      "unit_price": 0.8,
      "box_marking": "QB3",
      "total_price": 16.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY GARDENBRIDALJEWEL",
      "category": "Flowers",
      "quantity": 20,
      "box_number": "910858454",
      "plantation": "TESSA-R3",
      "unit_price": 0.6,
      "box_marking": "QB3",
      "total_price": 12.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY ELBA",
      "category": "Flowers",
      "quantity": 20,
      "box_number": "910858460",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "QB3",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAY ELBA",
      "category": "Flowers",
      "quantity": 20,
      "box_number": "910858460",
      "plantation": "TESSA-R3",
      "unit_price": 0.6,
      "box_marking": "QB3",
      "total_price": 12.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY FIBON ACCIYAN TRA",
      "category": "Flowers",
      "quantity": 20,
      "box_number": "910858460",
      "plantation": "TESSA-R3",
      "unit_price": 0.6,
      "box_marking": "QB3",
      "total_price": 12.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY WILD DUNE",
      "category": "Flowers",
      "quantity": 20,
      "box_number": "910858460",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "QB3",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAY WILD DUNE",
      "category": "Flowers",
      "quantity": 20,
      "box_number": "910858460",
      "plantation": "TESSA-R3",
      "unit_price": 0.6,
      "box_marking": "QB3",
      "total_price": 12.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY ELBA",
      "category": "Flowers",
      "quantity": 70,
      "box_number": "910858488",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "QB1",
      "total_price": 35.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAY ELBA",
      "category": "Flowers",
      "quantity": 30,
      "box_number": "910858488",
      "plantation": "TESSA-R3",
      "unit_price": 0.6,
      "box_marking": "QB1",
      "total_price": 18.0
    }
  ],
  "country": "Kyrgyz Republic(Kyrgyzstan)",
  "summary": {
    "total_boxes": 9,
    "total_stems": 700,
    "total_amount": 320.0
  },
  "supplier": "TOO QAZAQ IMEX/SOCIEDAD DERESPONSABILIDAD LIMITADA",
  "invoice_date": "",
  "invoice_number": ""
}
Результат (Pass 2)

  
История (последние 20)
ID Файл Дата