Песочница: TESSACORPORATION

Intent ID: 17

Назад
1) Загрузить файл и получить сырой OCR JSON
Сохраняем последний файл и сырой OCR, чтобы можно было повторно тестировать маппинг без перезагрузки.
Скачать последний файл (90711054.pdf)
2) Правила трансформации
Правила трансформации OCR-данных в целевую схему (включая валидацию).
Промпт LLM-подсказки
Используется кнопкой «Подсказать rules».
Сырой OCR JSON (Pass 1)
{
  "awb": "145-99817572",
  "items": [
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 30,
      "box_number": "910842327",
      "plantation": "SPRAYSNOWFLAKE",
      "unit_price": 0.5,
      "box_marking": "HB XL 1",
      "total_price": 15
    },
    {
      "boxes": 0,
      "length": "60CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 120,
      "box_number": "910842327",
      "plantation": "SPRAYSNOWFLAKE",
      "unit_price": 0.6,
      "box_marking": "HB XL 1",
      "total_price": 72
    },
    {
      "boxes": 0,
      "length": "50CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 40,
      "box_number": "910842327",
      "plantation": "SPRAYWEDDINGSENSATION",
      "unit_price": 0.5,
      "box_marking": "HB XL 1",
      "total_price": 20
    },
    {
      "boxes": 0,
      "length": "70CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 60,
      "box_number": "910842327",
      "plantation": "SPRAYWEDDINGSENSATION",
      "unit_price": 0.7,
      "box_marking": "HB XL 1",
      "total_price": 42
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 30,
      "box_number": "910842402",
      "plantation": "SPRAYARCTIC FLOW",
      "unit_price": 0.7,
      "box_marking": "HB XL 1",
      "total_price": 21
    },
    {
      "boxes": 0,
      "length": "50CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 30,
      "box_number": "910842402",
      "plantation": "SPRAY BEGENEROUS",
      "unit_price": 0.6,
      "box_marking": "HB XL 1",
      "total_price": 18
    },
    {
      "boxes": 0,
      "length": "50CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 70,
      "box_number": "910842402",
      "plantation": "SPRAY BLUEMOON",
      "unit_price": 0.5,
      "box_marking": "HB XL 1",
      "total_price": 35
    },
    {
      "boxes": 0,
      "length": "50CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 20,
      "box_number": "910842402",
      "plantation": "SPRAY BSVOLANS",
      "unit_price": 0.5,
      "box_marking": "HB XL 1",
      "total_price": 10
    },
    {
      "boxes": 0,
      "length": "70CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 50,
      "box_number": "910842402",
      "plantation": "SPRAY BSVOLANS",
      "unit_price": 0.7,
      "box_marking": "HB XL 1",
      "total_price": 35
    },
    {
      "boxes": 0,
      "length": "50CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 30,
      "box_number": "910842402",
      "plantation": "SPRAYCREAM FLOW",
      "unit_price": 0.7,
      "box_marking": "HB XL 1",
      "total_price": 21
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 50,
      "box_number": "910842458",
      "plantation": "SPRAY POLARSENSATION",
      "unit_price": 0.5,
      "box_marking": "HB XXL1",
      "total_price": 25
    },
    {
      "boxes": 0,
      "length": "70CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 50,
      "box_number": "910842458",
      "plantation": "SPRAYROYALPORCELINA",
      "unit_price": 0.7,
      "box_marking": "HB XXL1",
      "total_price": 35
    },
    {
      "boxes": 0,
      "length": "70CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 150,
      "box_number": "910842458",
      "plantation": "SPRAYSWEETDREAMS",
      "unit_price": 0.7,
      "box_marking": "HB XXL1",
      "total_price": 105
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 80,
      "box_number": "910842460",
      "plantation": "SPRAYPORTRAIT",
      "unit_price": 0.5,
      "box_marking": "HB XL 1",
      "total_price": 40
    },
    {
      "boxes": 0,
      "length": "50CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 90,
      "box_number": "910842460",
      "plantation": "SPRAYRUBICON",
      "unit_price": 0.5,
      "box_marking": "HB XL 1",
      "total_price": 45
    },
    {
      "boxes": 0,
      "length": "60CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 50,
      "box_number": "910842460",
      "plantation": "SPRAY SAON A",
      "unit_price": 0.6,
      "box_marking": "HB XL 1",
      "total_price": 30
    },
    {
      "boxes": 0,
      "length": "50CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 10,
      "box_number": "910842460",
      "plantation": "SPRAYSNOWFLAKE",
      "unit_price": 0.5,
      "box_marking": "HB XL 1",
      "total_price": 5
    },
    {
      "boxes": 0,
      "length": "60CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 10,
      "box_number": "910842460",
      "plantation": "SPRAYSNOWFLAKE",
      "unit_price": 0.6,
      "box_marking": "HB XL 1",
      "total_price": 6
    },
    {
      "boxes": 0,
      "length": "70CM",
      "variety": "TESSA-P",
      "category": "",
      "quantity": 10,
      "box_number": "910842460",
      "plantation": "SPRAY WINKALLURE",
      "unit_price": 0.8,
      "box_marking": "HB XL 1",
      "total_price": 8
    }
  ],
  "country": "Kyrgyz Republic(Kyrgyzstan)",
  "summary": {
    "total_boxes": 4,
    "total_stems": 2200,
    "total_amount": 1325
  },
  "supplier": "",
  "invoice_date": "",
  "invoice_number": ""
}
Результат (Pass 2)

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