Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BJKMLHdxMwSUeYcdkwqX4W
206 lines
5.5 KiB
JSON
206 lines
5.5 KiB
JSON
{
|
||
"schema_version": "2.0",
|
||
"service": {
|
||
"name": "tabular-parser"
|
||
},
|
||
"status": "needs_check",
|
||
"metrics": {
|
||
"rows": 3,
|
||
"warnings": []
|
||
},
|
||
"documents": [
|
||
{
|
||
"document_type": "BALANCE",
|
||
"locator": "sheet:Лист_1",
|
||
"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": null,
|
||
"organization_name": null,
|
||
"organization_name_text": null,
|
||
"organization_name_confidence": null,
|
||
"inn": null,
|
||
"inn_text": null,
|
||
"inn_confidence": null,
|
||
"report_date": null,
|
||
"report_date_text": null,
|
||
"report_date_confidence": null,
|
||
"units": null,
|
||
"units_text": null,
|
||
"units_confidence": null,
|
||
"okud": null,
|
||
"okud_text": null,
|
||
"okud_confidence": null,
|
||
"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": 4,
|
||
"label": "На 31 декабря 2024 г.",
|
||
"label_confidence": 100.0,
|
||
"period_date": "2024-12-31",
|
||
"period_kind": "absolute"
|
||
},
|
||
{
|
||
"column_index": 5,
|
||
"label": "На 31 декабря 2023 г.",
|
||
"label_confidence": 100.0,
|
||
"period_date": "2023-12-31",
|
||
"period_kind": "absolute"
|
||
}
|
||
],
|
||
"lines": [
|
||
{
|
||
"row_index": 0,
|
||
"ref": "Лист_1!D3",
|
||
"line_status": "ok",
|
||
"line_code": "1310",
|
||
"line_code_text": "1310",
|
||
"line_code_confidence": 100.0,
|
||
"line_name": "Уставный капитал",
|
||
"line_name_confidence": 100.0,
|
||
"parent_ref": null,
|
||
"needs_review": false,
|
||
"values": [
|
||
{
|
||
"column_index": 4,
|
||
"amount": "150.00",
|
||
"string_value": null,
|
||
"text": "150",
|
||
"confidence": 100.0,
|
||
"is_recognized": true,
|
||
"needs_review": false
|
||
},
|
||
{
|
||
"column_index": 5,
|
||
"amount": "130.00",
|
||
"string_value": null,
|
||
"text": "130",
|
||
"confidence": 100.0,
|
||
"is_recognized": true,
|
||
"needs_review": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"row_index": 1,
|
||
"ref": "Лист_1!D4",
|
||
"line_status": "ok",
|
||
"line_code": "1300",
|
||
"line_code_text": "1300",
|
||
"line_code_confidence": 100.0,
|
||
"line_name": "Итого по разделу III",
|
||
"line_name_confidence": 100.0,
|
||
"parent_ref": null,
|
||
"needs_review": false,
|
||
"values": [
|
||
{
|
||
"column_index": 4,
|
||
"amount": "150.00",
|
||
"string_value": null,
|
||
"text": "150",
|
||
"confidence": 100.0,
|
||
"is_recognized": true,
|
||
"needs_review": false
|
||
},
|
||
{
|
||
"column_index": 5,
|
||
"amount": "130.00",
|
||
"string_value": null,
|
||
"text": "130",
|
||
"confidence": 100.0,
|
||
"is_recognized": true,
|
||
"needs_review": false
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"row_index": 2,
|
||
"ref": "Лист_1!D5",
|
||
"line_status": "ok",
|
||
"line_code": "1700",
|
||
"line_code_text": "1700",
|
||
"line_code_confidence": 100.0,
|
||
"line_name": "БАЛАНС",
|
||
"line_name_confidence": 100.0,
|
||
"parent_ref": null,
|
||
"needs_review": false,
|
||
"values": [
|
||
{
|
||
"column_index": 4,
|
||
"amount": "150.00",
|
||
"string_value": null,
|
||
"text": "150",
|
||
"confidence": 100.0,
|
||
"is_recognized": true,
|
||
"needs_review": true
|
||
},
|
||
{
|
||
"column_index": 5,
|
||
"amount": "130.00",
|
||
"string_value": null,
|
||
"text": "130",
|
||
"confidence": 100.0,
|
||
"is_recognized": true,
|
||
"needs_review": true
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"checks": {
|
||
"relations_failed": [
|
||
{
|
||
"column_index": 4,
|
||
"relation": "1600 = 1700",
|
||
"codes": [
|
||
"1600",
|
||
"1700"
|
||
],
|
||
"expected": null,
|
||
"actual": "150.00"
|
||
},
|
||
{
|
||
"column_index": 5,
|
||
"relation": "1600 = 1700",
|
||
"codes": [
|
||
"1600",
|
||
"1700"
|
||
],
|
||
"expected": null,
|
||
"actual": "130.00"
|
||
}
|
||
],
|
||
"soft_relations_failed": []
|
||
}
|
||
}
|
||
]
|
||
}
|