Песочница: TESSACORPORATION

Intent ID: 17

Назад
1) Загрузить файл и получить сырой OCR JSON
Сохраняем последний файл и сырой OCR, чтобы можно было повторно тестировать маппинг без перезагрузки.
Скачать последний файл (90718530.pdf)
2) Правила трансформации
Правила трансформации OCR-данных в целевую схему (включая валидацию).
Промпт LLM-подсказки
Используется кнопкой «Подсказать rules».
Сырой OCR JSON (Pass 1)
{
  "awb": "145-99817594",
  "items": [
    {
      "boxes": 1,
      "length": "50",
      "variety": "CANDLELIGHT",
      "category": "Flowers",
      "quantity": 75,
      "box_number": "1",
      "plantation": "TESSA- E2",
      "unit_price": 0.6,
      "box_marking": "HB XL 2",
      "total_price": 45.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "ESPERANCE",
      "category": "Flowers",
      "quantity": 50,
      "box_number": "1",
      "plantation": "TESSA- E2",
      "unit_price": 0.35,
      "box_marking": "HB XL 2",
      "total_price": 17.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "FRUTTETO",
      "category": "Flowers",
      "quantity": 100,
      "box_number": "1",
      "plantation": "TESSA- E2",
      "unit_price": 0.4,
      "box_marking": "HB XL 2",
      "total_price": 40.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "PANDORA",
      "category": "Flowers",
      "quantity": 50,
      "box_number": "1",
      "plantation": "TESSA- E2",
      "unit_price": 0.6,
      "box_marking": "HB XL 2",
      "total_price": 30.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "PLAYA BLANCA",
      "category": "Flowers",
      "quantity": 25,
      "box_number": "1",
      "plantation": "TESSA- E2",
      "unit_price": 0.5,
      "box_marking": "HB XL 2",
      "total_price": 12.5
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "CANDLELIGHT",
      "category": "Flowers",
      "quantity": 50,
      "box_number": "1",
      "plantation": "TESSA- P",
      "unit_price": 0.6,
      "box_marking": "QB 3",
      "total_price": 30.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "NINA",
      "category": "Flowers",
      "quantity": 50,
      "box_number": "1",
      "plantation": "TESSA- P",
      "unit_price": 0.4,
      "box_marking": "QB 3",
      "total_price": 20.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "ANTONIA GARDENS",
      "category": "Flowers",
      "quantity": 25,
      "box_number": "1",
      "plantation": "TESSA- S",
      "unit_price": 0.8,
      "box_marking": "QB 3",
      "total_price": 20.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "MONDIAL",
      "category": "Flowers",
      "quantity": 50,
      "box_number": "1",
      "plantation": "TESSA- S",
      "unit_price": 0.5,
      "box_marking": "QB 3",
      "total_price": 25.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "PLAYA BLANCA",
      "category": "Flowers",
      "quantity": 25,
      "box_number": "1",
      "plantation": "TESSA- S",
      "unit_price": 0.5,
      "box_marking": "QB 3",
      "total_price": 12.5
    }
  ],
  "country": "Kyrgyz Republic (Kyrgyzstan)",
  "summary": {
    "total_boxes": 3,
    "total_stems": 500,
    "total_amount": 252.5
  },
  "supplier": "TOO QAZAQ IMEX /SOCIEDAD DE RESPONSABILIDAD LIMITADA",
  "invoice_date": "",
  "invoice_number": "",
  "processing_report": {
    "notes": "Инвойс типа А (составные коробки), обнаружено 3 физические коробки. Проблем при извлечении не было. Раскрытие мультибокса не применялось.",
    "status": "ok",
    "sum_boxes": 10,
    "sum_stems": 500,
    "sum_amount": 252.5,
    "items_count": 10,
    "discrepancies": [],
    "expected_boxes": null,
    "expected_stems": 500,
    "expected_amount": 252.5
  }
}
Результат (Pass 2)

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