Снимок s42: «Итого развернутое» перед «Итого» (tabular-parser#59)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Andrey Epifancev 2026-10-19 12:08:59 +04:00
parent a3ebbaa9d7
commit 63ad3795db
2 changed files with 11 additions and 25 deletions

View File

@ -3,16 +3,16 @@
"service": {
"name": "tabular-parser"
},
"status": "needs_check",
"status": "done",
"metrics": {
"rows": 5,
"rows": 4,
"warnings": []
},
"documents": [
{
"document_type": "OSV",
"locator": "sheet:Лист_1",
"status": "needs_check",
"status": "done",
"warnings": [
{
"code": "OSV_HIERARCHY_BY_ACCOUNT_PATTERN",
@ -28,16 +28,6 @@
"code": "OSV_HEADER",
"severity": "info",
"message": "валюта в шапке не найдена"
},
{
"code": "OSV_BALANCE_IDENTITY",
"severity": "info",
"message": "§1.4: сальдо на начало + обороты ≠ сальдо на конец (±0.01): строки 14"
},
{
"code": "OSV_PARENT_SUM",
"severity": "info",
"message": "§1.4: суммы родителя ≠ сумме детей (±0.01): строки 13"
}
],
"header": {
@ -148,19 +138,19 @@
},
{
"row_number": 14,
"level": 2,
"parent_row_number": 13,
"level": 0,
"parent_row_number": null,
"row_value": "Итого развернутое",
"group_type": "OTHER",
"group_type": "TOTAL",
"group_name": null,
"account_code_raw": "76.Н.1",
"account_code_raw": null,
"counterparty_name": null,
"counterparty_inn": null,
"data_type": null,
"opening_debit": "1000.00",
"opening_credit": "300.00",
"turnover_debit": null,
"turnover_credit": null,
"turnover_debit": "5700.00",
"turnover_credit": "6600.00",
"closing_debit": null,
"closing_credit": "200.00",
"extra": null
@ -187,12 +177,8 @@
],
"checks": {
"total_row_matches_root": true,
"balance_identity_violations": [
14
],
"parent_sum_violations": [
13
]
"balance_identity_violations": [],
"parent_sum_violations": []
}
}
]