Песочница: TESSACORPORATION

Intent ID: 17

Назад
1) Загрузить файл и получить сырой OCR JSON
Сохраняем последний файл и сырой OCR, чтобы можно было повторно тестировать маппинг без перезагрузки.
Скачать последний файл (90711728.pdf)
2) Правила трансформации
Правила трансформации OCR-данных в целевую схему (включая валидацию).
Промпт LLM-подсказки
Используется кнопкой «Подсказать rules».
Сырой OCR JSON (Pass 1)
{
  "awb": "501-19717865",
  "items": [
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 20,
      "box_number": "910543382",
      "plantation": "SPRAY CRETA",
      "unit_price": 0.5,
      "box_marking": "QB4",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 20,
      "box_number": "910543382",
      "plantation": "SPRAY ELBA",
      "unit_price": 0.5,
      "box_marking": "QB4",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 20,
      "box_number": "910543382",
      "plantation": "SPRAY FIREUP",
      "unit_price": 0.5,
      "box_marking": "QB4",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 20,
      "box_number": "910543382",
      "plantation": "SPRAYFLOREANA",
      "unit_price": 0.5,
      "box_marking": "QB4",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 20,
      "box_number": "910543383",
      "plantation": "SPRAY SAONA",
      "unit_price": 0.5,
      "box_marking": "QB4",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 20,
      "box_number": "910543383",
      "plantation": "SPRAY BS",
      "unit_price": 0.5,
      "box_marking": "QB4",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 20,
      "box_number": "910543383",
      "plantation": "SPRAY BS LEO",
      "unit_price": 0.5,
      "box_marking": "QB4",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 20,
      "box_number": "910543383",
      "plantation": "SPRAY PINKIRISHKA",
      "unit_price": 0.5,
      "box_marking": "QB4",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 20,
      "box_number": "910543383",
      "plantation": "SPRAYPURPLEIRISHKA",
      "unit_price": 0.5,
      "box_marking": "QB4",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 20,
      "box_number": "910849047",
      "plantation": "SPRAY",
      "unit_price": 0.5,
      "box_marking": "QB4",
      "total_price": 10.0
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 40,
      "box_number": "910849047",
      "plantation": "SPRAYFIBONACCIYANTRA",
      "unit_price": 0.5,
      "box_marking": "QB4",
      "total_price": 20.0
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 30,
      "box_number": "910849047",
      "plantation": "SPRAYFIBONACCIYANTRA",
      "unit_price": 0.6,
      "box_marking": "QB4",
      "total_price": 18.0
    },
    {
      "boxes": 3,
      "length": "70CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 30,
      "box_number": "910849047",
      "plantation": "SPRAYFIBONACCIYANTRA",
      "unit_price": 0.7,
      "box_marking": "QB4",
      "total_price": 21.0
    }
  ],
  "country": "Kyrgyz Republic(Kyrgyzstan)",
  "summary": {
    "total_boxes": 14,
    "total_stems": 300,
    "total_amount": 159.0
  },
  "supplier": "TOO QAZAQ IMEX/SOCIEDAD DERESPONSABILIDAD LIMITADA",
  "invoice_date": "",
  "invoice_number": ""
}
Результат (Pass 2)

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