449 lines
14 KiB
JSON
449 lines
14 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": "OSV",
|
||
"locator": "sheet:ОВ",
|
||
"status": "done",
|
||
"warnings": [
|
||
{
|
||
"code": "OSV_HIERARCHY_BY_OUTLINE",
|
||
"severity": "info",
|
||
"message": "иерархия строк — по группировке листа (outline)"
|
||
},
|
||
{
|
||
"code": "OSV_HEADER",
|
||
"severity": "info",
|
||
"message": "наименование организации в шапке не найдено"
|
||
},
|
||
{
|
||
"code": "OSV_HEADER",
|
||
"severity": "info",
|
||
"message": "период (после «за» или «Период:») в шапке не найден"
|
||
},
|
||
{
|
||
"code": "OSV_HEADER",
|
||
"severity": "info",
|
||
"message": "тип выводимых данных (БУ/НУ/сумма) в шапке не найден"
|
||
},
|
||
{
|
||
"code": "OSV_HEADER",
|
||
"severity": "info",
|
||
"message": "валюта в шапке не найдена"
|
||
},
|
||
{
|
||
"code": "OSV_HEADER",
|
||
"severity": "info",
|
||
"message": "код счёта «60» взят из первой строки-счёта таблицы: в шапке «по счету …» нет"
|
||
},
|
||
{
|
||
"code": "OSV_HEADER",
|
||
"severity": "info",
|
||
"message": "вид данных в шапке не указан — строки без метки приняты как БУ"
|
||
},
|
||
{
|
||
"code": "OSV_ROWS",
|
||
"severity": "info",
|
||
"message": "вид субконто в шапке не назван: строки аналитики счёта 60.01 приняты за контрагентов по плану счетов — проверьте"
|
||
},
|
||
{
|
||
"code": "OSV_ROWS",
|
||
"severity": "info",
|
||
"message": "вид субконто в шапке не назван: строки аналитики счёта 60.02 приняты за контрагентов по плану счетов — проверьте"
|
||
}
|
||
],
|
||
"header": {
|
||
"organization_name": "",
|
||
"organization_inn": null,
|
||
"account_code_raw": "60",
|
||
"period_text": "",
|
||
"period_year": null,
|
||
"period_quarter": null,
|
||
"is_cumulative": null,
|
||
"period_start": null,
|
||
"period_end": null,
|
||
"is_from_year_start": null,
|
||
"data_type": null,
|
||
"currency": null,
|
||
"header_variant": 1
|
||
},
|
||
"group_schema": [
|
||
{
|
||
"type": "ACCOUNT",
|
||
"name": "Счет"
|
||
}
|
||
],
|
||
"columns": {
|
||
"opening_debit": "B",
|
||
"opening_credit": "C",
|
||
"turnover_debit": "D",
|
||
"turnover_credit": "E",
|
||
"closing_debit": "F",
|
||
"closing_credit": "G"
|
||
},
|
||
"rows": [
|
||
{
|
||
"row_number": 2,
|
||
"level": 0,
|
||
"parent_row_number": null,
|
||
"row_value": "60",
|
||
"group_type": "ACCOUNT",
|
||
"group_name": "Счет",
|
||
"account_code_raw": "60",
|
||
"counterparty_name": null,
|
||
"counterparty_inn": null,
|
||
"data_type": "BU",
|
||
"opening_debit": "135000.00",
|
||
"opening_credit": "262500.60",
|
||
"turnover_debit": "311000.35",
|
||
"turnover_credit": "572000.35",
|
||
"closing_debit": "115000.00",
|
||
"closing_credit": "503500.60",
|
||
"extra": null
|
||
},
|
||
{
|
||
"row_number": 3,
|
||
"level": 1,
|
||
"parent_row_number": 2,
|
||
"row_value": "60.01",
|
||
"group_type": "ACCOUNT",
|
||
"group_name": "Счет",
|
||
"account_code_raw": "60.01",
|
||
"counterparty_name": null,
|
||
"counterparty_inn": null,
|
||
"data_type": "BU",
|
||
"opening_debit": "15000.00",
|
||
"opening_credit": "253000.50",
|
||
"turnover_debit": "273000.25",
|
||
"turnover_credit": "460000.00",
|
||
"closing_debit": "65000.00",
|
||
"closing_credit": "490000.25",
|
||
"extra": null
|
||
},
|
||
{
|
||
"row_number": 4,
|
||
"level": 2,
|
||
"parent_row_number": 3,
|
||
"row_value": "ООО Альфа",
|
||
"group_type": "COUNTERPARTY",
|
||
"group_name": null,
|
||
"account_code_raw": "60.01",
|
||
"counterparty_name": "ООО Альфа",
|
||
"counterparty_inn": null,
|
||
"data_type": "BU",
|
||
"opening_debit": null,
|
||
"opening_credit": "250000.50",
|
||
"turnover_debit": "180000.25",
|
||
"turnover_credit": "420000.00",
|
||
"closing_debit": null,
|
||
"closing_credit": "490000.25",
|
||
"extra": null
|
||
},
|
||
{
|
||
"row_number": 5,
|
||
"level": 2,
|
||
"parent_row_number": 3,
|
||
"row_value": "ООО Бета",
|
||
"group_type": "COUNTERPARTY",
|
||
"group_name": null,
|
||
"account_code_raw": "60.01",
|
||
"counterparty_name": "ООО Бета",
|
||
"counterparty_inn": null,
|
||
"data_type": "BU",
|
||
"opening_debit": "15000.00",
|
||
"opening_credit": null,
|
||
"turnover_debit": "90000.00",
|
||
"turnover_credit": "40000.00",
|
||
"closing_debit": "65000.00",
|
||
"closing_credit": null,
|
||
"extra": null
|
||
},
|
||
{
|
||
"row_number": 6,
|
||
"level": 2,
|
||
"parent_row_number": 3,
|
||
"row_value": "Иванов Иван",
|
||
"group_type": "COUNTERPARTY",
|
||
"group_name": null,
|
||
"account_code_raw": "60.01",
|
||
"counterparty_name": "Иванов Иван",
|
||
"counterparty_inn": null,
|
||
"data_type": "BU",
|
||
"opening_debit": null,
|
||
"opening_credit": "3000.00",
|
||
"turnover_debit": "3000.00",
|
||
"turnover_credit": null,
|
||
"closing_debit": null,
|
||
"closing_credit": null,
|
||
"extra": null
|
||
},
|
||
{
|
||
"row_number": 7,
|
||
"level": 1,
|
||
"parent_row_number": 2,
|
||
"row_value": "60.02",
|
||
"group_type": "ACCOUNT",
|
||
"group_name": "Счет",
|
||
"account_code_raw": "60.02",
|
||
"counterparty_name": null,
|
||
"counterparty_inn": null,
|
||
"data_type": "BU",
|
||
"opening_debit": "120000.00",
|
||
"opening_credit": "9500.10",
|
||
"turnover_debit": "38000.10",
|
||
"turnover_credit": "112000.35",
|
||
"closing_debit": "50000.00",
|
||
"closing_credit": "13500.35",
|
||
"extra": null
|
||
},
|
||
{
|
||
"row_number": 8,
|
||
"level": 2,
|
||
"parent_row_number": 7,
|
||
"row_value": "ООО Гамма",
|
||
"group_type": "COUNTERPARTY",
|
||
"group_name": null,
|
||
"account_code_raw": "60.02",
|
||
"counterparty_name": "ООО Гамма",
|
||
"counterparty_inn": null,
|
||
"data_type": "BU",
|
||
"opening_debit": "120000.00",
|
||
"opening_credit": null,
|
||
"turnover_debit": "30000.00",
|
||
"turnover_credit": "100000.00",
|
||
"closing_debit": "50000.00",
|
||
"closing_credit": null,
|
||
"extra": null
|
||
},
|
||
{
|
||
"row_number": 9,
|
||
"level": 2,
|
||
"parent_row_number": 7,
|
||
"row_value": "ООО Дельта",
|
||
"group_type": "COUNTERPARTY",
|
||
"group_name": null,
|
||
"account_code_raw": "60.02",
|
||
"counterparty_name": "ООО Дельта",
|
||
"counterparty_inn": null,
|
||
"data_type": "BU",
|
||
"opening_debit": null,
|
||
"opening_credit": "8000.10",
|
||
"turnover_debit": "8000.10",
|
||
"turnover_credit": "12000.35",
|
||
"closing_debit": null,
|
||
"closing_credit": "12000.35",
|
||
"extra": null
|
||
},
|
||
{
|
||
"row_number": 10,
|
||
"level": 2,
|
||
"parent_row_number": 7,
|
||
"row_value": "ИП Сидоров",
|
||
"group_type": "COUNTERPARTY",
|
||
"group_name": null,
|
||
"account_code_raw": "60.02",
|
||
"counterparty_name": "ИП Сидоров",
|
||
"counterparty_inn": null,
|
||
"data_type": "BU",
|
||
"opening_debit": null,
|
||
"opening_credit": "1500.00",
|
||
"turnover_debit": null,
|
||
"turnover_credit": null,
|
||
"closing_debit": null,
|
||
"closing_credit": "1500.00",
|
||
"extra": null
|
||
},
|
||
{
|
||
"row_number": 11,
|
||
"level": 0,
|
||
"parent_row_number": null,
|
||
"row_value": "Итого",
|
||
"group_type": "TOTAL",
|
||
"group_name": null,
|
||
"account_code_raw": null,
|
||
"counterparty_name": null,
|
||
"counterparty_inn": null,
|
||
"data_type": "BU",
|
||
"opening_debit": "135000.00",
|
||
"opening_credit": "262500.60",
|
||
"turnover_debit": "311000.35",
|
||
"turnover_credit": "572000.35",
|
||
"closing_debit": "115000.00",
|
||
"closing_credit": "503500.60",
|
||
"extra": null
|
||
}
|
||
],
|
||
"checks": {
|
||
"total_row_matches_root": true,
|
||
"balance_identity_violations": [],
|
||
"parent_sum_violations": []
|
||
}
|
||
},
|
||
{
|
||
"document_type": "BALANCE",
|
||
"locator": "sheet:Бухгалтерский баланс",
|
||
"status": "needs_check",
|
||
"form_variant": "full",
|
||
"warnings": [
|
||
{
|
||
"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
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"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": []
|
||
}
|
||
}
|
||
]
|
||
}
|