Intent: OSCAR VALENCIA

v2 2026-04-05 03:49:38.927168+00:00 by: processing_log
Поставщик
Rules для трансформации (OCR → 1С)
Правила трансформации OCR-данных в целевую схему (включая валидацию).
Доступные справочники для shortcode
varities {{ref:varities}}
test {{ref:test}}
Последний сырой OCR (из песочницы)
{
  "awb": null,
  "items": [
    {
      "boxes": 1.0,
      "length": null,
      "variety": "EXPLORER",
      "category": "",
      "quantity": 100.0,
      "box_number": "1",
      "plantation": "",
      "unit_price": 0.35,
      "box_marking": "HB",
      "total_price": 35.0
    },
    {
      "boxes": 1.0,
      "length": null,
      "variety": "SALMA",
      "category": "",
      "quantity": 75.0,
      "box_number": "1",
      "plantation": "",
      "unit_price": 0.35,
      "box_marking": "HB",
      "total_price": 26.25
    },
    {
      "boxes": 1.0,
      "length": "120",
      "variety": "FRUTETO",
      "category": "",
      "quantity": 25.0,
      "box_number": "1",
      "plantation": "",
      "unit_price": 0.35,
      "box_marking": "HB",
      "total_price": 8.75
    },
    {
      "boxes": 1.0,
      "length": "110",
      "variety": "KAHALA",
      "category": "",
      "quantity": 50.0,
      "box_number": "1",
      "plantation": "",
      "unit_price": 0.35,
      "box_marking": "HB",
      "total_price": 17.5
    },
    {
      "boxes": 1.0,
      "length": "110",
      "variety": "HERMOSA",
      "category": "",
      "quantity": 25.0,
      "box_number": "1",
      "plantation": "",
      "unit_price": 0.45,
      "box_marking": "HB",
      "total_price": 8.75
    },
    {
      "boxes": 1.0,
      "length": "110",
      "variety": "PINKXPRESSION",
      "category": "",
      "quantity": 25.0,
      "box_number": "1",
      "plantation": "",
      "unit_price": 0.45,
      "box_marking": "HB",
      "total_price": 11.25
    },
    {
      "boxes": 1.0,
      "length": "100",
      "variety": "PRINCESS CROWN",
      "category": "",
      "quantity": 25.0,
      "box_number": "1",
      "plantation": "",
      "unit_price": 0.5,
      "box_marking": "HB",
      "total_price": 12.5
    },
    {
      "boxes": 1.0,
      "length": "100",
      "variety": "CANDLELIGHT",
      "category": "",
      "quantity": 25.0,
      "box_number": "1",
      "plantation": "",
      "unit_price": 0.6,
      "box_marking": "HB",
      "total_price": 15.0
    }
  ],
  "country": "KYRGYZSTAN",
  "summary": {
    "total_boxes": 14.0,
    "total_stems": 350.0,
    "total_amount": 135.0
  },
  "supplier": "VALENCIA PUJOTA JAIME",
  "invoice_date": "01/04/2026",
  "invoice_number": "00043683",
  "processing_report": {
    "notes": "Тип инвойса: плоский (Б). Обнаружено 8 физических коробок. Общие данные по коробкам из summary (14) не соответствуют сумме из item (8). Раскрытие мультибокса не применялось.",
    "status": "warning",
    "sum_boxes": 8.0,
    "sum_stems": 350.0,
    "sum_amount": 135.0,
    "items_count": 8,
    "discrepancies": [
      "summary.total_boxes (14.0) does not match sum of items[].boxes (8.0).",
      "Several item rows had misaligned 'T.STEAM', 'PRECIO', 'TOTAL' columns, which were inferred by content. Length extraction for these rows was inferred based on the last non-empty size column before the inferred quantity."
    ],
    "expected_boxes": 14.0,
    "expected_stems": 350.0,
    "expected_amount": 135.0
  }
}
Документы поставщика
Файл Источник Статус Дата Действия
FACT EXPORTACION TDA00043683 H 15_52_26.pdf
email done 01.04 21:40
Файл XLSX
FACT EXPORTACION TDA00043534 H 18_44_24.pdf
email error
DashScope OCR API error 400: {"code":"Arrearage","message":"Access denied, pleas
27.03 23:45
Файл
FACT EXPORTACION TDA00043489 H 17_26_04.pdf
email error
DashScope OCR metadata API error 400: {"code":"Arrearage","message":"Access deni
26.03 22:26
Файл
FACT EXPORTACION TDA00043461 H 15_24_45.pdf
email error
DashScope OCR API error 400: {"code":"Arrearage","message":"Access denied, pleas
25.03 20:25
Файл
FACT EXPORTACION TDA00043318 H 16_26_22.pdf
email done 20.03 21:26
Файл XLSX
FACT EXPORTACION TDA00043231 H 15_34_05.pdf
email done 18.03 20:34
Файл XLSX
FACT EXPORTACION TDA00042971 H 16_56_25.pdf
email done 11.03 21:57
Файл XLSX
FACT EXPORTACION TDA00042862 H 14_52_30.pdf
email done 06.03 19:53
Файл XLSX
FACT EXPORTACION TDA00042733 H 18_29_57.pdf
email done 04.03 23:31
Файл XLSX
FACT EXPORTACION TDA00042222 H 19_28_58.pdf
email done 23.02 11:11
Файл XLSX
FACT EXPORTACION TDA00042122 H 21_24_33.pdf
email ocr_only 23.02 10:37
Файл
FACT EXPORTACION TDA00042222 H 19_28_58.pdf
email error
OCR output does not match expected schema: 'supplier name' is a required propert
19.02 00:31