Песочница: TESSACORPORATION

Intent ID: 17

Назад
1) Загрузить файл и получить сырой OCR JSON
Сохраняем последний файл и сырой OCR, чтобы можно было повторно тестировать маппинг без перезагрузки.
Скачать последний файл (90711785.pdf)
2) Правила трансформации
Правила трансформации OCR-данных в целевую схему (включая валидацию).
Промпт LLM-подсказки
Используется кнопкой «Подсказать rules».
Сырой OCR JSON (Pass 1)
{
  "awb": "501-19717854",
  "items": [
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "TESSA-E1",
      "category": "",
      "quantity": 25,
      "box_number": "910848883",
      "plantation": "CANCUN",
      "unit_price": 0.35,
      "box_marking": "HB XXL2",
      "total_price": 8.75
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "",
      "category": "",
      "quantity": 50,
      "box_number": "910848883",
      "plantation": "CREAM X-PRESSION",
      "unit_price": 0.35,
      "box_marking": "HB XXL2",
      "total_price": 17.5
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848883",
      "plantation": "ESPERANCE",
      "unit_price": 0.35,
      "box_marking": "HB XXL2",
      "total_price": 8.75
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848883",
      "plantation": "GOTCHA",
      "unit_price": 0.35,
      "box_marking": "HB XXL2",
      "total_price": 8.75
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848883",
      "plantation": "GREENROMANCE",
      "unit_price": 0.35,
      "box_marking": "HB XXL2",
      "total_price": 8.75
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848883",
      "plantation": "HOTSPOT",
      "unit_price": 0.35,
      "box_marking": "HB XXL2",
      "total_price": 8.75
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848883",
      "plantation": "KAHALA",
      "unit_price": 0.35,
      "box_marking": "HB XXL2",
      "total_price": 8.75
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848883",
      "plantation": "MONDIAL",
      "unit_price": 0.35,
      "box_marking": "HB XXL2",
      "total_price": 8.75
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848883",
      "plantation": "NENA",
      "unit_price": 0.35,
      "box_marking": "HB XXL2",
      "total_price": 8.75
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848883",
      "plantation": "OCEAN SONG",
      "unit_price": 0.35,
      "box_marking": "HB XXL2",
      "total_price": 8.75
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848883",
      "plantation": "OPALA",
      "unit_price": 0.35,
      "box_marking": "HB XXL2",
      "total_price": 8.75
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848883",
      "plantation": "PINK FLOYD",
      "unit_price": 0.35,
      "box_marking": "HB XXL2",
      "total_price": 8.75
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848883",
      "plantation": "PINKMONDIAL",
      "unit_price": 0.35,
      "box_marking": "HB XXL2",
      "total_price": 8.75
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848883",
      "plantation": "POMAROSA",
      "unit_price": 0.35,
      "box_marking": "HB XXL2",
      "total_price": 8.75
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848883",
      "plantation": "SWEETESCIMO",
      "unit_price": 0.35,
      "box_marking": "HB XXL2",
      "total_price": 8.75
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "TESSA-E2",
      "category": "",
      "quantity": 50,
      "box_number": "910848879",
      "plantation": "TIBET",
      "unit_price": 0.35,
      "box_marking": "HB XL 1",
      "total_price": 17.5
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 50,
      "box_number": "910848879",
      "plantation": "CABARET",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 20.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 50,
      "box_number": "910848879",
      "plantation": "CANDLELIGHT",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 20.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848879",
      "plantation": "CREME DE LA",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848879",
      "plantation": "HOTSPOT",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 50,
      "box_number": "910848879",
      "plantation": "MONDIAL",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 20.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848879",
      "plantation": "PROUD",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848879",
      "plantation": "QUEEN'SCROWN",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848879",
      "plantation": "SILANTO I",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848879",
      "plantation": "SUNSET X-PRESSION",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848879",
      "plantation": "TIBET",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSAF",
      "category": "",
      "quantity": 25,
      "box_number": "910848754",
      "plantation": "TIFFANY",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848754",
      "plantation": "CANDLELIGHT",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848754",
      "plantation": "CHERRYBRANDY",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848754",
      "plantation": "DEEP PURPLE",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848754",
      "plantation": "ESPERANCE",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848754",
      "plantation": "HIGH &MAGIC",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848754",
      "plantation": "MONDIAL",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848754",
      "plantation": "NENA",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848754",
      "plantation": "PINK FLOYD",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848754",
      "plantation": "PINK X-PRESSION",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848754",
      "plantation": "PROUD",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848754",
      "plantation": "SHIMMER",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848754",
      "plantation": "TIBET",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 50,
      "box_number": "910848776",
      "plantation": "VENDELA",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 20.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 50,
      "box_number": "910848776",
      "plantation": "BE SWEET",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 20.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848776",
      "plantation": "CANDY X-PRESSION",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848776",
      "plantation": "COUNTRYCANDY",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848776",
      "plantation": "CREAM X-PRESSION",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848776",
      "plantation": "FANCYDREAMS",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848776",
      "plantation": "HOTSPOT",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848776",
      "plantation": "MANDALA",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848776",
      "plantation": "MONDIAL",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848776",
      "plantation": "NINA",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848776",
      "plantation": "PHOENIX",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848776",
      "plantation": "PINKMONDIAL",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848776",
      "plantation": "PINK X-PRESSION",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "",
      "category": "",
      "quantity": 25,
      "box_number": "910848776",
      "plantation": "QUICKSAND",
      "unit_price": 0.4,
      "box_marking": "HB XL 1",
      "total_price": 10.0
    }
  ],
  "country": "Kyrgyz Republic(Kyrgyzstan)",
  "summary": {
    "total_boxes": 44,
    "total_stems": 2200,
    "total_amount": 857.5
  },
  "supplier": "",
  "invoice_date": "",
  "invoice_number": ""
}
Результат (Pass 2)

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