Песочница: SOLPACIFIC

Intent ID: 43

Назад
1) Загрузить файл и получить сырой OCR JSON
Сохраняем последний файл и сырой OCR, чтобы можно было повторно тестировать маппинг без перезагрузки.
Скачать последний файл (Invoice_001231332.pdf)
2) Правила трансформации
Правила трансформации OCR-данных в целевую схему (включая валидацию).
Промпт LLM-подсказки
Используется кнопкой «Подсказать rules».
Сырой OCR JSON (Pass 1)
{
  "awb": null,
  "items": [
    {
      "boxes": 1,
      "length": "40",
      "variety": "Amsterdam",
      "category": null,
      "quantity": 500,
      "box_number": "1-1 H",
      "plantation": null,
      "unit_price": 0.25,
      "box_marking": "B",
      "total_price": 125.0
    }
  ],
  "country": "Kyrgyzstan",
  "summary": {
    "total_boxes": 1,
    "total_stems": 500,
    "total_amount": 125.0
  },
  "supplier": null,
  "invoice_date": "2026-03-04",
  "invoice_number": "001231332",
  "processing_report": {
    "notes": "Invoice type: flat. 1 physical box(es) detected. No multi-box unfolding applied. Note: 'items[].quantity' was mapped to 'Stems' column to match 'summary.total_stems' for validation, as per interpretation of verification rules. Original rule for items[].quantity refers to 'Bun/Box' (20 for this item).",
    "status": "ok",
    "sum_boxes": 1,
    "sum_stems": 500,
    "sum_amount": 125.0,
    "items_count": 1,
    "discrepancies": [],
    "expected_boxes": 1,
    "expected_stems": 500,
    "expected_amount": 125.0
  }
}
Результат (Pass 2)

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