Песочница: TESSACORPORATION

Intent ID: 17

Назад
1) Загрузить файл и получить сырой OCR JSON
Сохраняем последний файл и сырой OCR, чтобы можно было повторно тестировать маппинг без перезагрузки.
Скачать последний файл (90711740.pdf)
2) Правила трансформации
Правила трансформации OCR-данных в целевую схему (включая валидацию).
Промпт LLM-подсказки
Используется кнопкой «Подсказать rules».
Сырой OCR JSON (Pass 1)
{
  "awb": "501-19717854",
  "items": [
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "TESSA-1",
      "category": null,
      "quantity": 300,
      "box_number": "910770832",
      "plantation": "FORTUNE",
      "unit_price": 0.8,
      "box_marking": "HB",
      "total_price": 240
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSA-1",
      "category": null,
      "quantity": 300,
      "box_number": "910770847",
      "plantation": "FORTUNE",
      "unit_price": 0.9,
      "box_marking": "HB XL 2",
      "total_price": 270
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSA-1",
      "category": null,
      "quantity": 250,
      "box_number": "910770857",
      "plantation": "MAMMAMIA",
      "unit_price": 1,
      "box_marking": "HB XL 2",
      "total_price": 250
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "TESSA-1",
      "category": null,
      "quantity": 300,
      "box_number": "910777803",
      "plantation": "MONDIAL",
      "unit_price": 0.7,
      "box_marking": "HB XL 2",
      "total_price": 210
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "TESSA-3",
      "category": null,
      "quantity": 300,
      "box_number": "910770839",
      "plantation": "FORTUNE",
      "unit_price": 0.8,
      "box_marking": "HB XL 2",
      "total_price": 240
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSA-D",
      "category": null,
      "quantity": 350,
      "box_number": "910778026",
      "plantation": "VENDELA",
      "unit_price": 0.6,
      "box_marking": "HB XL 2",
      "total_price": 210
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSA-F",
      "category": null,
      "quantity": 300,
      "box_number": "910777904",
      "plantation": "PINK FLOYD",
      "unit_price": 0.8,
      "box_marking": "HB XL 2",
      "total_price": 240
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSA-F",
      "category": null,
      "quantity": 350,
      "box_number": "910778013",
      "plantation": "VENDELA",
      "unit_price": 0.6,
      "box_marking": "HB XL 2",
      "total_price": 210
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSA-F",
      "category": null,
      "quantity": 350,
      "box_number": "910778014",
      "plantation": "VENDELA",
      "unit_price": 0.6,
      "box_marking": "HB XL 2",
      "total_price": 210
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSA-P",
      "category": null,
      "quantity": 250,
      "box_number": "910770860",
      "plantation": "MAMMAMIA",
      "unit_price": 1,
      "box_marking": "HB XL 2",
      "total_price": 250
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSA-P",
      "category": null,
      "quantity": 250,
      "box_number": "910770861",
      "plantation": "MAMMAMIA",
      "unit_price": 1,
      "box_marking": "HB XL 2",
      "total_price": 250
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "TESSA-R3",
      "category": null,
      "quantity": 300,
      "box_number": "910770850",
      "plantation": "FORTUNE",
      "unit_price": 0.9,
      "box_marking": "HB XL 2",
      "total_price": 270
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "TESSA-R3",
      "category": null,
      "quantity": 400,
      "box_number": "910831233",
      "plantation": "VENDELA",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 200
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "TESSA-R3",
      "category": null,
      "quantity": 400,
      "box_number": "910831236",
      "plantation": "VENDELA",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 200
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "TESSA-R3",
      "category": null,
      "quantity": 300,
      "box_number": "910848111",
      "plantation": "FORTUNE",
      "unit_price": 0.8,
      "box_marking": "HB",
      "total_price": 240
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "TESSA-R3",
      "category": null,
      "quantity": 300,
      "box_number": "910848112",
      "plantation": "FORTUNE",
      "unit_price": 0.8,
      "box_marking": "HB",
      "total_price": 240
    }
  ],
  "country": "Kyrgyz Republic(Kyrgyzstan)",
  "summary": {
    "total_boxes": 16,
    "total_stems": 5000,
    "total_amount": 3730
  },
  "supplier": "TOO QAZAQ IMEX/SOCIEDAD DERESPONSABILIDAD LIMITADA",
  "invoice_date": "",
  "invoice_number": ""
}
Результат (Pass 2)

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