394 lines
11 KiB
JSON
394 lines
11 KiB
JSON
{
|
||
"schema_version": "2.0",
|
||
"service": {
|
||
"name": "tabular-parser"
|
||
},
|
||
"status": "needs_check",
|
||
"metrics": {
|
||
"rows": 11,
|
||
"warnings": [
|
||
{
|
||
"code": "SHEET_OTHER",
|
||
"severity": "info",
|
||
"message": "лист без признаков ОСВ и формы",
|
||
"locator": "sheet:Справка"
|
||
}
|
||
]
|
||
},
|
||
"documents": [
|
||
{
|
||
"document_type": "BALANCE",
|
||
"locator": "sheet:Бухгалтерский баланс,ОВ",
|
||
"status": "needs_check",
|
||
"form_variant": "full",
|
||
"warnings": [
|
||
{
|
||
"code": "SEGMENT_COLUMNS_MISMATCH",
|
||
"severity": "error",
|
||
"message": "в сегменте со строки 7 колонок значений 5, в первом сегменте 1; лишние столбцы сегмента: 3, 4, 5, 6"
|
||
},
|
||
{
|
||
"code": "NO_ORGANIZATION_NO_INN",
|
||
"severity": "error",
|
||
"message": "В шапке нет ни организации, ни ИНН"
|
||
},
|
||
{
|
||
"code": "UNITS_NOT_FOUND",
|
||
"severity": "info",
|
||
"message": "Единицы измерения не найдены",
|
||
"field": "units"
|
||
}
|
||
],
|
||
"header": {
|
||
"form_name": "Бухгалтерский баланс",
|
||
"organization_name": null,
|
||
"organization_name_text": null,
|
||
"organization_name_confidence": null,
|
||
"inn": null,
|
||
"inn_text": null,
|
||
"inn_confidence": null,
|
||
"report_date": "2025-09-30",
|
||
"report_date_text": "на 30 сентября 2025 г.",
|
||
"report_date_confidence": 100.0,
|
||
"units": null,
|
||
"units_text": null,
|
||
"units_confidence": null,
|
||
"okud": "0710001",
|
||
"okud_text": "Форма по ОКУД 0710001",
|
||
"okud_confidence": 100.0,
|
||
"okpo": null,
|
||
"okpo_text": null,
|
||
"okpo_confidence": null,
|
||
"okopf": null,
|
||
"okopf_text": null,
|
||
"okopf_confidence": null,
|
||
"okfs": null,
|
||
"okfs_text": null,
|
||
"okfs_confidence": null,
|
||
"okei": null,
|
||
"okei_text": null,
|
||
"okei_confidence": null,
|
||
"address": null,
|
||
"address_text": null,
|
||
"address_confidence": null,
|
||
"needs_review_fields": []
|
||
},
|
||
"columns": [
|
||
{
|
||
"column_index": 2,
|
||
"label": "На 30.09.2025",
|
||
"label_confidence": 100.0,
|
||
"period_date": "2025-09-30",
|
||
"period_kind": "absolute"
|
||
}
|
||
],
|
||
"lines": [
|
||
{
|
||
"row_index": 0,
|
||
"ref": "'Бухгалтерский баланс'!B6",
|
||
"line_status": "ok",
|
||
"line_code": "1150",
|
||
"line_code_text": "1150",
|
||
"line_code_confidence": 100.0,
|
||
"line_name": "Основные средства",
|
||
"line_name_confidence": 100.0,
|
||
"parent_ref": null,
|
||
"needs_review": false,
|
||
"values": [
|
||
{
|
||
"column_index": 2,
|
||
"amount": "1200000.00",
|
||
"string_value": null,
|
||
"text": "1200000",
|
||
"confidence": 100.0,
|
||
"is_recognized": true,
|
||
"needs_review": true
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"row_index": 1,
|
||
"ref": "'Бухгалтерский баланс'!B7",
|
||
"line_status": "ok",
|
||
"line_code": "1210",
|
||
"line_code_text": "1210",
|
||
"line_code_confidence": 100.0,
|
||
"line_name": "Запасы",
|
||
"line_name_confidence": 100.0,
|
||
"parent_ref": null,
|
||
"needs_review": false,
|
||
"values": [
|
||
{
|
||
"column_index": 2,
|
||
"amount": "340000.00",
|
||
"string_value": null,
|
||
"text": "340000",
|
||
"confidence": 100.0,
|
||
"is_recognized": true,
|
||
"needs_review": true
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"row_index": 2,
|
||
"ref": "ОВ!B3",
|
||
"line_status": "ok",
|
||
"line_code": "15000",
|
||
"line_code_text": "15000",
|
||
"line_code_confidence": 100.0,
|
||
"line_name": "60.01",
|
||
"line_name_confidence": 100.0,
|
||
"parent_ref": null,
|
||
"needs_review": false,
|
||
"values": [
|
||
{
|
||
"column_index": 2,
|
||
"amount": "253000.50",
|
||
"string_value": null,
|
||
"text": "253000,5",
|
||
"confidence": 100.0,
|
||
"is_recognized": true,
|
||
"needs_review": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"row_index": 3,
|
||
"ref": "ОВ!A4",
|
||
"line_status": "detail",
|
||
"line_code": null,
|
||
"line_code_text": null,
|
||
"line_code_confidence": null,
|
||
"line_name": "ООО Альфа",
|
||
"line_name_confidence": 100.0,
|
||
"parent_ref": "ОВ!B3",
|
||
"needs_review": false,
|
||
"values": [
|
||
{
|
||
"column_index": 2,
|
||
"amount": "250000.50",
|
||
"string_value": null,
|
||
"text": "250000,5",
|
||
"confidence": 100.0,
|
||
"is_recognized": true,
|
||
"needs_review": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"row_index": 4,
|
||
"ref": "ОВ!B5",
|
||
"line_status": "ok",
|
||
"line_code": "15000",
|
||
"line_code_text": "15000",
|
||
"line_code_confidence": 100.0,
|
||
"line_name": "ООО Бета",
|
||
"line_name_confidence": 100.0,
|
||
"parent_ref": null,
|
||
"needs_review": false,
|
||
"values": [
|
||
{
|
||
"column_index": 2,
|
||
"amount": null,
|
||
"string_value": null,
|
||
"text": null,
|
||
"confidence": 100.0,
|
||
"is_recognized": true,
|
||
"needs_review": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"row_index": 5,
|
||
"ref": "ОВ!A6",
|
||
"line_status": "detail",
|
||
"line_code": null,
|
||
"line_code_text": null,
|
||
"line_code_confidence": null,
|
||
"line_name": "Иванов Иван",
|
||
"line_name_confidence": 100.0,
|
||
"parent_ref": "ОВ!B5",
|
||
"needs_review": false,
|
||
"values": [
|
||
{
|
||
"column_index": 2,
|
||
"amount": "3000.00",
|
||
"string_value": null,
|
||
"text": "3000",
|
||
"confidence": 100.0,
|
||
"is_recognized": true,
|
||
"needs_review": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"row_index": 6,
|
||
"ref": "ОВ!B7",
|
||
"line_status": "unreadable",
|
||
"line_code": null,
|
||
"line_code_text": "120000",
|
||
"line_code_confidence": 100.0,
|
||
"line_name": "60.02",
|
||
"line_name_confidence": 100.0,
|
||
"parent_ref": null,
|
||
"needs_review": false,
|
||
"values": [
|
||
{
|
||
"column_index": 2,
|
||
"amount": "9500.10",
|
||
"string_value": null,
|
||
"text": "9500,1",
|
||
"confidence": 100.0,
|
||
"is_recognized": true,
|
||
"needs_review": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"row_index": 7,
|
||
"ref": "ОВ!B8",
|
||
"line_status": "unreadable",
|
||
"line_code": null,
|
||
"line_code_text": "120000",
|
||
"line_code_confidence": 100.0,
|
||
"line_name": "ООО Гамма",
|
||
"line_name_confidence": 100.0,
|
||
"parent_ref": null,
|
||
"needs_review": false,
|
||
"values": [
|
||
{
|
||
"column_index": 2,
|
||
"amount": null,
|
||
"string_value": null,
|
||
"text": null,
|
||
"confidence": 100.0,
|
||
"is_recognized": true,
|
||
"needs_review": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"row_index": 8,
|
||
"ref": "ОВ!A9",
|
||
"line_status": "detail",
|
||
"line_code": null,
|
||
"line_code_text": null,
|
||
"line_code_confidence": null,
|
||
"line_name": "ООО Дельта",
|
||
"line_name_confidence": 100.0,
|
||
"parent_ref": "ОВ!B5",
|
||
"needs_review": false,
|
||
"values": [
|
||
{
|
||
"column_index": 2,
|
||
"amount": "8000.10",
|
||
"string_value": null,
|
||
"text": "8000,1",
|
||
"confidence": 100.0,
|
||
"is_recognized": true,
|
||
"needs_review": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"row_index": 9,
|
||
"ref": "ОВ!A10",
|
||
"line_status": "detail",
|
||
"line_code": null,
|
||
"line_code_text": null,
|
||
"line_code_confidence": null,
|
||
"line_name": "ИП Сидоров",
|
||
"line_name_confidence": 100.0,
|
||
"parent_ref": "ОВ!B5",
|
||
"needs_review": false,
|
||
"values": [
|
||
{
|
||
"column_index": 2,
|
||
"amount": "1500.00",
|
||
"string_value": null,
|
||
"text": "1500",
|
||
"confidence": 100.0,
|
||
"is_recognized": true,
|
||
"needs_review": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"row_index": 10,
|
||
"ref": "ОВ!B11",
|
||
"line_status": "unreadable",
|
||
"line_code": null,
|
||
"line_code_text": "135000",
|
||
"line_code_confidence": 100.0,
|
||
"line_name": "Итого",
|
||
"line_name_confidence": 100.0,
|
||
"parent_ref": null,
|
||
"needs_review": false,
|
||
"values": [
|
||
{
|
||
"column_index": 2,
|
||
"amount": "262500.60",
|
||
"string_value": null,
|
||
"text": "262500,6",
|
||
"confidence": 100.0,
|
||
"is_recognized": true,
|
||
"needs_review": false
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"checks": {
|
||
"relations_failed": [
|
||
{
|
||
"column_index": 2,
|
||
"relation": "1100 = 1105 + 1110 + 1120 + 1130 + 1140 + 1150 + 1160 + 1170 + 1180 + 1190",
|
||
"codes": [
|
||
"1100",
|
||
"1105",
|
||
"1110",
|
||
"1120",
|
||
"1130",
|
||
"1140",
|
||
"1150",
|
||
"1160",
|
||
"1170",
|
||
"1180",
|
||
"1190"
|
||
],
|
||
"expected": null,
|
||
"actual": "1200000.00"
|
||
},
|
||
{
|
||
"column_index": 2,
|
||
"relation": "1200 = 1210 + 1215 + 1220 + 1230 + 1240 + 1250 + 1260",
|
||
"codes": [
|
||
"1200",
|
||
"1210",
|
||
"1215",
|
||
"1220",
|
||
"1230",
|
||
"1240",
|
||
"1250",
|
||
"1260"
|
||
],
|
||
"expected": null,
|
||
"actual": "340000.00"
|
||
}
|
||
],
|
||
"soft_relations_failed": [
|
||
{
|
||
"column_index": 2,
|
||
"relation": "1500 = 15000",
|
||
"codes": [
|
||
"1500",
|
||
"15000"
|
||
],
|
||
"expected": null,
|
||
"actual": "253000.50"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
]
|
||
}
|