Intent: PACIFICAIRCARGO/ RUSSIA

v1 2026-03-23 13:09:12.559565+00:00 by: processing_log
Поставщик
Rules для трансформации (OCR → 1С)
Правила трансформации OCR-данных в целевую схему (включая валидацию).
Доступные справочники для shortcode
varities {{ref:varities}}
test {{ref:test}}
Последний сырой OCR (из песочницы)
{
  "awb": "PC603014591",
  "items": [
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSES",
      "category": "ROSES",
      "quantity": 400,
      "box_number": "BOX1",
      "plantation": "BUKETOPT",
      "unit_price": 0.3,
      "box_marking": "ROSES",
      "total_price": 120.0
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSES",
      "category": "ROSES",
      "quantity": 1300,
      "box_number": "BOX2",
      "plantation": "BUKETOPT",
      "unit_price": 0.2942307692307692,
      "box_marking": "ROSES",
      "total_price": 382.5
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSES",
      "category": "ROSES",
      "quantity": 250,
      "box_number": "BOX3",
      "plantation": "BUKETOPT",
      "unit_price": 0.805,
      "box_marking": "ROSES",
      "total_price": 201.25
    },
    {
      "boxes": 1,
      "length": "40CM",
      "variety": "Roses",
      "category": "ROSES",
      "quantity": 1500,
      "box_number": "BOX4",
      "plantation": "BUKETOPT",
      "unit_price": 0.0,
      "box_marking": "Roses 40CM",
      "total_price": 0.0
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "Roses",
      "category": "ROSES",
      "quantity": 1200,
      "box_number": "BOX5",
      "plantation": "BUKETOPT",
      "unit_price": 0.3,
      "box_marking": "Roses 50CM",
      "total_price": 360.0
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSES",
      "category": "ROSES",
      "quantity": 400,
      "box_number": "BOX6",
      "plantation": "BUKETOPT",
      "unit_price": 0.265,
      "box_marking": "ROSES",
      "total_price": 106.0
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSES",
      "category": "ROSES",
      "quantity": 1150,
      "box_number": "BOX7",
      "plantation": "BUKETOPT",
      "unit_price": 0.29608695652173916,
      "box_marking": "ROSES",
      "total_price": 340.5
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "ASSORTED 10S/B",
      "category": "ROSES",
      "quantity": 120,
      "box_number": "BOX8",
      "plantation": "BUKETOPT",
      "unit_price": 0.44,
      "box_marking": "SP.ROSE ASSORTED 10S/B 60CM 120ST(ST 2073487-15)",
      "total_price": 52.8
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "BS ARIES",
      "category": "ROSES",
      "quantity": 20,
      "box_number": "BOX9",
      "plantation": "BUKETOPT",
      "unit_price": 0.44,
      "box_marking": "SPRAY ROSE BS ARIES",
      "total_price": 8.8
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "BS BON BON",
      "category": "ROSES",
      "quantity": 10,
      "box_number": "BOX10",
      "plantation": "BUKETOPT",
      "unit_price": 0.44,
      "box_marking": "SPRAY ROSE BS BON BON",
      "total_price": 4.4
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "BS CAPRICORN",
      "category": "ROSES",
      "quantity": 20,
      "box_number": "BOX11",
      "plantation": "BUKETOPT",
      "unit_price": 0.44,
      "box_marking": "SPRAY ROSE BS CAPRICORN",
      "total_price": 8.8
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "BS VOLANS",
      "category": "ROSES",
      "quantity": 10,
      "box_number": "BOX12",
      "plantation": "BUKETOPT",
      "unit_price": 0.44,
      "box_marking": "SPRAY ROSE BS VOLANS",
      "total_price": 4.4
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "G WINK ALLURE",
      "category": "ROSES",
      "quantity": 10,
      "box_number": "BOX13",
      "plantation": "BUKETOPT",
      "unit_price": 0.44,
      "box_marking": "SPRAY ROSE G WINK ALLURE",
      "total_price": 4.4
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "PURPLE IRIS CHKA",
      "category": "ROSES",
      "quantity": 20,
      "box_number": "BOX14",
      "plantation": "BUKETOPT",
      "unit_price": 0.44,
      "box_marking": "SPRAY ROSE PURPLE IRIS CHKA",
      "total_price": 8.8
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "SCARLETTE MIMMI",
      "category": "ROSES",
      "quantity": 10,
      "box_number": "BOX15",
      "plantation": "BUKETOPT",
      "unit_price": 0.44,
      "box_marking": "SPRAY ROSE SCARLETTE MIMMI",
      "total_price": 4.4
    },
    {
      "boxes": 1,
      "length": "60CM",
      "variety": "SWEET DREAMS",
      "category": "ROSES",
      "quantity": 20,
      "box_number": "BOX16",
      "plantation": "BUKETOPT",
      "unit_price": 0.44,
      "box_marking": "SPRAY ROSE SWEET DREAMS",
      "total_price": 8.8
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSES",
      "category": "ROSES",
      "quantity": 500,
      "box_number": "BOX17",
      "plantation": "BUKETOPT",
      "unit_price": 0.23,
      "box_marking": "ROSES",
      "total_price": 115.0
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSES",
      "category": "ROSES",
      "quantity": 1350,
      "box_number": "BOX18",
      "plantation": "BUKETOPT",
      "unit_price": 0.3592592592592592,
      "box_marking": "ROSES",
      "total_price": 485.0
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "KAHALA 25ST",
      "category": "ROSES",
      "quantity": 400,
      "box_number": "BOX19",
      "plantation": "BUKETOPT",
      "unit_price": 0.35,
      "box_marking": "ROSE KAHALA 25ST 50CM 400ST(ST 2073487-8)",
      "total_price": 140.0
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "FRUTTETO 25ST",
      "category": "ROSES",
      "quantity": 400,
      "box_number": "BOX20",
      "plantation": "BUKETOPT",
      "unit_price": 0.3,
      "box_marking": "ROSE FRUTTETO 25ST 50CM 400ST(ST 2073487-9)",
      "total_price": 120.0
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "ASSORTED 25ST MG",
      "category": "ROSES",
      "quantity": 400,
      "box_number": "BOX21",
      "plantation": "BUKETOPT",
      "unit_price": 0.255,
      "box_marking": "ROSE ASSORTED 25ST MG 400ST(ST 2073487-10)",
      "total_price": 102.0
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "FRUTETTO",
      "category": "ROSES",
      "quantity": 175,
      "box_number": "BOX22",
      "plantation": "BUKETOPT",
      "unit_price": 0.3,
      "box_marking": "ROSE FRUTETTO",
      "total_price": 52.5
    },
    {
      "boxes": 1,
      "length": "40CM",
      "variety": "HIGH & MAGIC",
      "category": "ROSES",
      "quantity": 125,
      "box_number": "BOX23",
      "plantation": "BUKETOPT",
      "unit_price": 0.22,
      "box_marking": "ROSE HIGH & MAGIC",
      "total_price": 27.5
    },
    {
      "boxes": 1,
      "length": "40CM",
      "variety": "PALOMA",
      "category": "ROSES",
      "quantity": 100,
      "box_number": "BOX24",
      "plantation": "BUKETOPT",
      "unit_price": 0.22,
      "box_marking": "ROSE PALOMA",
      "total_price": 22.0
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "FORTUNE 25ST",
      "category": "ROSES",
      "quantity": 1050,
      "box_number": "BOX25",
      "plantation": "BUKETOPT",
      "unit_price": 0.27,
      "box_marking": "ROSE FORTUNE 25ST 50CM 350ST(ST 2073487-12)",
      "total_price": 283.5
    },
    {
      "boxes": 1,
      "length": "40CM",
      "variety": "PALOMA 25ST",
      "category": "ROSES",
      "quantity": 700,
      "box_number": "BOX26",
      "plantation": "BUKETOPT",
      "unit_price": 0.22,
      "box_marking": "ROSE PALOMA 25ST 40CM 350ST(ST 2073487-14)",
      "total_price": 154.0
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "PINK X-PRESSION 25ST",
      "category": "ROSES",
      "quantity": 300,
      "box_number": "BOX27",
      "plantation": "BUKETOPT",
      "unit_price": 0.4,
      "box_marking": "ROSE PINK X-PRESSION 25ST 50CM 300ST(ST 2073487-16)",
      "total_price": 120.0
    },
    {
      "boxes": 1,
      "length": "50CM",
      "variety": "FRUTTETO 25ST",
      "category": "ROSES",
      "quantity": 200,
      "box_number": "BOX28",
      "plantation": "BUKETOPT",
      "unit_price": 0.3,
      "box_marking": "ROSE FRUTTETO 25ST 50CM 200ST(ST 2073487-17)",
      "total_price": 60.0
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSES",
      "category": "ROSES",
      "quantity": 500,
      "box_number": "BOX29",
      "plantation": "BUKETOPT",
      "unit_price": 0.23,
      "box_marking": "ROSES",
      "total_price": 115.0
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSES",
      "category": "ROSES",
      "quantity": 200,
      "box_number": "BOX30",
      "plantation": "BUKETOPT",
      "unit_price": 0.5,
      "box_marking": "ROSES",
      "total_price": 100.0
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSES",
      "category": "ROSES",
      "quantity": 700,
      "box_number": "BOX31",
      "plantation": "BUKETOPT",
      "unit_price": 0.335,
      "box_marking": "ROSES",
      "total_price": 234.5
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSES",
      "category": "ROSES",
      "quantity": 2500,
      "box_number": "BOX32",
      "plantation": "BUKETOPT",
      "unit_price": 0.3258,
      "box_marking": "ROSES",
      "total_price": 814.5
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSES",
      "category": "ROSES",
      "quantity": 300,
      "box_number": "BOX33",
      "plantation": "BUKETOPT",
      "unit_price": 0.315,
      "box_marking": "ROSES",
      "total_price": 94.5
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "Roses",
      "category": "ROSES",
      "quantity": 500,
      "box_number": "BOX34",
      "plantation": "BUKETOPT",
      "unit_price": 0.25,
      "box_marking": "Roses",
      "total_price": 125.0
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSES",
      "category": "ROSES",
      "quantity": 2550,
      "box_number": "BOX35",
      "plantation": "BUKETOPT",
      "unit_price": 0.2888235294117647,
      "box_marking": "ROSES",
      "total_price": 736.5
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSASTINTURADAS",
      "category": "ROSASTINTURADAS",
      "quantity": 750,
      "box_number": "BOX36",
      "plantation": "BUKETOPT",
      "unit_price": 0.6333333333333333,
      "box_marking": "ROSASTINTURADAS",
      "total_price": 475.0
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSES",
      "category": "ROSES",
      "quantity": 1900,
      "box_number": "BOX37",
      "plantation": "BUKETOPT",
      "unit_price": 0.2847368421052632,
      "box_marking": "ROSES",
      "total_price": 541.0
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSES",
      "category": "ROSES",
      "quantity": 3350,
      "box_number": "BOX38",
      "plantation": "BUKETOPT",
      "unit_price": 0.35365671641791047,
      "box_marking": "ROSES",
      "total_price": 1184.8
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSES",
      "category": "ROSES",
      "quantity": 400,
      "box_number": "BOX39",
      "plantation": "BUKETOPT",
      "unit_price": 0.4725,
      "box_marking": "ROSES",
      "total_price": 189.0
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "SPRAY",
      "category": "ROSES",
      "quantity": 800,
      "box_number": "BOX40",
      "plantation": "BUKETOPT",
      "unit_price": 0.469,
      "box_marking": "SPRAY ROSES",
      "total_price": 375.2
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ALSTROEMERIAS(ALSTROEMERIA AUREA)",
      "category": "ALSTROEMERIAS(ALSTROEMERIA AUREA)",
      "quantity": 480,
      "box_number": "BOX41",
      "plantation": "BUKETOPT",
      "unit_price": 0.28,
      "box_marking": "ALSTROEMERIAS(ALSTROEMERIA AUREA)",
      "total_price": 134.4
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "(ROSO IDEA)",
      "category": "ROSES",
      "quantity": 2000,
      "box_number": "BOX42",
      "plantation": "BUKETOPT",
      "unit_price": 0.252,
      "box_marking": "ROSAS(ROSO IDEA)",
      "total_price": 504.0
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSES",
      "category": "ROSES",
      "quantity": 500,
      "box_number": "BOX43",
      "plantation": "BUKETOPT",
      "unit_price": 0.448,
      "box_marking": "ROSES",
      "total_price": 224.0
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSES",
      "category": "ROSES",
      "quantity": 400,
      "box_number": "BOX44",
      "plantation": "BUKETOPT",
      "unit_price": 0.24,
      "box_marking": "ROSES",
      "total_price": 96.0
    },
    {
      "boxes": 1,
      "length": null,
      "variety": "ROSES",
      "category": "ROSES",
      "quantity": 200,
      "box_number": "BOX45",
      "plantation": "BUKETOPT",
      "unit_price": 0.9,
      "box_marking": "ROSES",
      "total_price": 180.0
    }
  ],
  "country": "KAZAKHSTAN",
  "summary": {
    "total_boxes": 45,
    "total_stems": 18270,
    "total_amount": 6287.45
  },
  "supplier": "BUKETOPT",
  "invoice_date": "March 20 2026",
  "invoice_number": "5279252",
  "processing_report": {
    "notes": "Тип инвойса: плоский. Количество позиций: 45.",
    "status": "ok",
    "sum_boxes": 45,
    "sum_stems": 18270,
    "sum_amount": 6287.45,
    "items_count": 45,
    "discrepancies": [],
    "expected_boxes": 45,
    "expected_stems": 18270,
    "expected_amount": 6287.45
  }
}
Документы поставщика
Файл Источник Статус Дата Действия
20260328225007090.pdf
email error
DashScope OCR API error 400: {"code":"Arrearage","message":"Access denied, pleas
29.03 15:19
Файл
20260328225139170.pdf
email error
DashScope OCR API error 400: {"code":"Arrearage","message":"Access denied, pleas
29.03 15:17
Файл
20260321223429980.pdf
email done 22.03 15:51
Файл XLSX
20260314235043008.pdf
email done 15.03 15:45
Файл XLSX
20260306235249471.pdf
email done 07.03 13:46
Файл XLSX
20260301020038640.pdf
email done 02.03 03:31
Файл XLSX
20260301014956907.pdf
email done 02.03 03:26
Файл XLSX
20260218004805253.pdf
email error
Error code: 400 - {'error': {'message': '<400> InternalError.Algo.InvalidParamet
18.02 13:51