Песочница: TESSACORPORATION

Intent ID: 17

Назад
1) Загрузить файл и получить сырой OCR JSON
Сохраняем последний файл и сырой OCR, чтобы можно было повторно тестировать маппинг без перезагрузки.
Скачать последний файл (90712904.pdf)
2) Правила трансформации
Правила трансформации OCR-данных в целевую схему (включая валидацию).
Промпт LLM-подсказки
Используется кнопкой «Подсказать rules».
Сырой OCR JSON (Pass 1)
{
  "awb": "145-99817594",
  "items": [
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYPOR TRAIT",
      "category": "Flowers",
      "quantity": 250.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 125.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYPOR TRAIT",
      "category": "Flowers",
      "quantity": 250.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 125.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYPOR TRAIT",
      "category": "Flowers",
      "quantity": 250.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 125.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYPOR TRAIT",
      "category": "Flowers",
      "quantity": 250.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 125.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYPOR TRAIT",
      "category": "Flowers",
      "quantity": 250.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 125.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY#HOTPINK",
      "category": "Flowers",
      "quantity": 20.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.9,
      "box_marking": "HB XL 2",
      "total_price": 18.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY#LIGHTPINK",
      "category": "Flowers",
      "quantity": 30.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.9,
      "box_marking": "HB XL 2",
      "total_price": 27.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY#MEDIUM PINK",
      "category": "Flowers",
      "quantity": 150.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.9,
      "box_marking": "HB XL 2",
      "total_price": 135.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYARCTIC FLOW",
      "category": "Flowers",
      "quantity": 200.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.7,
      "box_marking": "HB XXL2",
      "total_price": 140.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY WHITEFLOW",
      "category": "Flowers",
      "quantity": 50.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.7,
      "box_marking": "HB XXL2",
      "total_price": 35.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY SILVERMIKADO",
      "category": "Flowers",
      "quantity": 250.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 125.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "SPRAYPARTYTREND SETTER",
      "category": "Flowers",
      "quantity": 70.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.6,
      "box_marking": "HB XXL2",
      "total_price": 42.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "SPRAYTREND SETTERHOT PINK",
      "category": "Flowers",
      "quantity": 60.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.6,
      "box_marking": "HB XXL2",
      "total_price": 36.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYTREND SETTERORANGE",
      "category": "Flowers",
      "quantity": 60.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.7,
      "box_marking": "HB XXL2",
      "total_price": 42.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "SPRAY WINKALLURE",
      "category": "Flowers",
      "quantity": 10.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.5,
      "box_marking": "HB XXL2",
      "total_price": 5.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "SPRAY#HOTPINK",
      "category": "Flowers",
      "quantity": 40.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.8,
      "box_marking": "HB XXL2",
      "total_price": 32.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "SPRAY#LIGHTPINK",
      "category": "Flowers",
      "quantity": 60.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.8,
      "box_marking": "HB XXL2",
      "total_price": 48.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "SPRAY#MEDIUM PINK",
      "category": "Flowers",
      "quantity": 90.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.8,
      "box_marking": "HB XXL2",
      "total_price": 72.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "SPRAY#PINK",
      "category": "Flowers",
      "quantity": 10.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.8,
      "box_marking": "HB XXL2",
      "total_price": 8.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "SPRAY#TREASURE",
      "category": "Flowers",
      "quantity": 50.0,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.8,
      "box_marking": "HB XXL2",
      "total_price": 40.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYAPRICOTJEWEL",
      "category": "Flowers",
      "quantity": 250.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 125.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYAPRICOTJEWEL",
      "category": "Flowers",
      "quantity": 250.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 125.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYCRETA",
      "category": "Flowers",
      "quantity": 250.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 125.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYCRETA",
      "category": "Flowers",
      "quantity": 250.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 125.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY BABYROSEVER",
      "category": "Flowers",
      "quantity": 50.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 25.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY BEGENEROUS",
      "category": "Flowers",
      "quantity": 100.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.6,
      "box_marking": "HB XL 2",
      "total_price": 60.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY BS BON BON",
      "category": "Flowers",
      "quantity": 50.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 25.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY WILD DUNE",
      "category": "Flowers",
      "quantity": 50.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.6,
      "box_marking": "HB XL 2",
      "total_price": 30.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY BABYROSEVER",
      "category": "Flowers",
      "quantity": 80.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 40.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY BEGENEROUS",
      "category": "Flowers",
      "quantity": 70.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.6,
      "box_marking": "HB XL 2",
      "total_price": 42.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY BS BON BON",
      "category": "Flowers",
      "quantity": 100.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 50.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY BABYROSEVER",
      "category": "Flowers",
      "quantity": 10.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 5.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY BS BON BON",
      "category": "Flowers",
      "quantity": 50.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 25.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAY SUS PIRO",
      "category": "Flowers",
      "quantity": 190.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 1",
      "total_price": 95.0
    },
    {
      "boxes": 1,
      "length": "70",
      "variety": "SPRAY NEWMOON",
      "category": "Flowers",
      "quantity": 250.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.7,
      "box_marking": "HB XL 1",
      "total_price": 175.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAY BS CAPRICORN",
      "category": "Flowers",
      "quantity": 30.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.6,
      "box_marking": "HB XL 1",
      "total_price": 18.0
    },
    {
      "boxes": 1,
      "length": "70",
      "variety": "SPRAY NEWMOON",
      "category": "Flowers",
      "quantity": 220.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.7,
      "box_marking": "HB XL 1",
      "total_price": 154.0
    },
    {
      "boxes": 1,
      "length": "70",
      "variety": "SPRAY BS CAPRICORN",
      "category": "Flowers",
      "quantity": 100.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.7,
      "box_marking": "HB XL 1",
      "total_price": 70.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAY BS VOLANS",
      "category": "Flowers",
      "quantity": 40.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.6,
      "box_marking": "HB XL 1",
      "total_price": 24.0
    },
    {
      "boxes": 1,
      "length": "70",
      "variety": "SPRAY BS VOLANS",
      "category": "Flowers",
      "quantity": 100.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.7,
      "box_marking": "HB XL 1",
      "total_price": 70.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAY PEACHJEWEL",
      "category": "Flowers",
      "quantity": 10.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.6,
      "box_marking": "HB XL 2",
      "total_price": 6.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "SPRAY BS BON BON",
      "category": "Flowers",
      "quantity": 50.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.4,
      "box_marking": "HB XL 2",
      "total_price": 20.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "SPRAY CANDY JEWEL",
      "category": "Flowers",
      "quantity": 50.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.4,
      "box_marking": "HB XL 2",
      "total_price": 20.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "SPRAY GARDEN BRIDAL JEWEL",
      "category": "Flowers",
      "quantity": 50.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 25.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "SPRAY SUS PIRO",
      "category": "Flowers",
      "quantity": 50.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.4,
      "box_marking": "HB XL 2",
      "total_price": 20.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "SPRAY WEDDING ROSEVER",
      "category": "Flowers",
      "quantity": 50.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 25.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "SPRAY BS BON BON",
      "category": "Flowers",
      "quantity": 50.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.4,
      "box_marking": "HB XL 2",
      "total_price": 20.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "SPRAY CANDY JEWEL",
      "category": "Flowers",
      "quantity": 50.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.4,
      "box_marking": "HB XL 2",
      "total_price": 20.0
    },
    {
      "boxes": 1,
      "length": "40",
      "variety": "SPRAY GARDEN BRIDAL JEWEL",
      "category": "Flowers",
      "quantity": 50.0,
      "box_number": "1",
      "plantation": "TESSA-R3",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 25.0
    }
  ],
  "country": "Kyrgyz Republic(Kyrgyzstan)",
  "summary": {
    "total_boxes": 22,
    "total_stems": 4440.0,
    "total_amount": 2686.0
  },
  "supplier": "TOO QAZAQ IMEX/SOCIEDAD DERESPONSABILIDAD LIMITADA",
  "invoice_date": "",
  "invoice_number": ""
}
Результат (Pass 2)

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