82 снимка (66 реальных ОСВ и 16 синтетических s01–s16) результата разбора tabular-parser (контракт 1.1) без job_id, file_id, service.version, metrics.duration_ms. Снимки — регрессия, не оракул; ручная сверка «Итого» трёх файлов — в отчёте задачи 12. Обновление: make golden-update в tabular-parser. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vJkmBGKKqMoEMzvsXG3y2
247 lines
7.6 KiB
JSON
247 lines
7.6 KiB
JSON
{
|
||
"schema_version": "1.1",
|
||
"service": {
|
||
"name": "tabular-parser"
|
||
},
|
||
"status": "done",
|
||
"metrics": {
|
||
"rows": 9,
|
||
"warnings": [
|
||
"sheet=Лист_1 hierarchy=outline"
|
||
]
|
||
},
|
||
"documents": [
|
||
{
|
||
"document_type": "OSV",
|
||
"locator": "sheet:Лист_1",
|
||
"header": {
|
||
"organization_name": "АО \"Русский бисквит\"",
|
||
"organization_inn": null,
|
||
"account_code_raw": "66",
|
||
"period_text": "2024 г.",
|
||
"period_year": 2024,
|
||
"period_quarter": "Q4",
|
||
"is_cumulative": true,
|
||
"data_type": "BU",
|
||
"currency": "RUB",
|
||
"header_variant": 1
|
||
},
|
||
"group_schema": [
|
||
{
|
||
"type": "ACCOUNT",
|
||
"name": "Счет"
|
||
},
|
||
{
|
||
"type": "COUNTERPARTY",
|
||
"name": "Контрагенты"
|
||
}
|
||
],
|
||
"columns": {
|
||
"opening_debit": "E",
|
||
"opening_credit": "H",
|
||
"turnover_debit": "J",
|
||
"turnover_credit": "L",
|
||
"closing_debit": "O",
|
||
"closing_credit": "Q"
|
||
},
|
||
"rows": [
|
||
{
|
||
"row_number": 12,
|
||
"level": 0,
|
||
"parent_row_number": null,
|
||
"row_value": "66",
|
||
"group_type": "ACCOUNT",
|
||
"group_name": "Счет",
|
||
"account_code_raw": "66",
|
||
"counterparty_name": null,
|
||
"counterparty_inn": null,
|
||
"data_type": "BU",
|
||
"opening_debit": null,
|
||
"opening_credit": "104702251.52",
|
||
"turnover_debit": "346243300.01",
|
||
"turnover_credit": "241541103.13",
|
||
"closing_debit": null,
|
||
"closing_credit": "54.64",
|
||
"extra": null
|
||
},
|
||
{
|
||
"row_number": 13,
|
||
"level": 1,
|
||
"parent_row_number": 12,
|
||
"row_value": "66.01",
|
||
"group_type": "ACCOUNT",
|
||
"group_name": "Счет",
|
||
"account_code_raw": "66.01",
|
||
"counterparty_name": null,
|
||
"counterparty_inn": null,
|
||
"data_type": "BU",
|
||
"opening_debit": null,
|
||
"opening_credit": "104687160.00",
|
||
"turnover_debit": "299905160.00",
|
||
"turnover_credit": "195218000.00",
|
||
"closing_debit": null,
|
||
"closing_credit": null,
|
||
"extra": null
|
||
},
|
||
{
|
||
"row_number": 14,
|
||
"level": 2,
|
||
"parent_row_number": 13,
|
||
"row_value": "Северо-Западный Банк ПАО Сбербанк",
|
||
"group_type": "COUNTERPARTY",
|
||
"group_name": "Контрагенты",
|
||
"account_code_raw": "66.01",
|
||
"counterparty_name": "Северо-Западный Банк ПАО Сбербанк",
|
||
"counterparty_inn": null,
|
||
"data_type": "BU",
|
||
"opening_debit": null,
|
||
"opening_credit": "104687160.00",
|
||
"turnover_debit": "299905160.00",
|
||
"turnover_credit": "195218000.00",
|
||
"closing_debit": null,
|
||
"closing_credit": null,
|
||
"extra": null
|
||
},
|
||
{
|
||
"row_number": 15,
|
||
"level": 1,
|
||
"parent_row_number": 12,
|
||
"row_value": "66.02",
|
||
"group_type": "ACCOUNT",
|
||
"group_name": "Счет",
|
||
"account_code_raw": "66.02",
|
||
"counterparty_name": null,
|
||
"counterparty_inn": null,
|
||
"data_type": "BU",
|
||
"opening_debit": null,
|
||
"opening_credit": "15091.52",
|
||
"turnover_debit": "3391418.70",
|
||
"turnover_credit": "3376381.82",
|
||
"closing_debit": null,
|
||
"closing_credit": "54.64",
|
||
"extra": null
|
||
},
|
||
{
|
||
"row_number": 16,
|
||
"level": 2,
|
||
"parent_row_number": 15,
|
||
"row_value": "Северо-Западный Банк ПАО Сбербанк",
|
||
"group_type": "COUNTERPARTY",
|
||
"group_name": "Контрагенты",
|
||
"account_code_raw": "66.02",
|
||
"counterparty_name": "Северо-Западный Банк ПАО Сбербанк",
|
||
"counterparty_inn": null,
|
||
"data_type": "BU",
|
||
"opening_debit": null,
|
||
"opening_credit": "15091.52",
|
||
"turnover_debit": "3391418.70",
|
||
"turnover_credit": "3376381.82",
|
||
"closing_debit": null,
|
||
"closing_credit": "54.64",
|
||
"extra": null
|
||
},
|
||
{
|
||
"row_number": 17,
|
||
"level": 1,
|
||
"parent_row_number": 12,
|
||
"row_value": "66.03",
|
||
"group_type": "ACCOUNT",
|
||
"group_name": "Счет",
|
||
"account_code_raw": "66.03",
|
||
"counterparty_name": null,
|
||
"counterparty_inn": null,
|
||
"data_type": "BU",
|
||
"opening_debit": null,
|
||
"opening_credit": null,
|
||
"turnover_debit": "42000000.00",
|
||
"turnover_credit": "42000000.00",
|
||
"closing_debit": null,
|
||
"closing_credit": null,
|
||
"extra": null
|
||
},
|
||
{
|
||
"row_number": 18,
|
||
"level": 2,
|
||
"parent_row_number": 17,
|
||
"row_value": "Юг-Финанс / ПЕКАРНЯ СЧАСТЛИВОЧНАЯ",
|
||
"group_type": "COUNTERPARTY",
|
||
"group_name": "Контрагенты",
|
||
"account_code_raw": "66.03",
|
||
"counterparty_name": "Юг-Финанс / ПЕКАРНЯ СЧАСТЛИВОЧНАЯ",
|
||
"counterparty_inn": null,
|
||
"data_type": "BU",
|
||
"opening_debit": null,
|
||
"opening_credit": null,
|
||
"turnover_debit": "42000000.00",
|
||
"turnover_credit": "42000000.00",
|
||
"closing_debit": null,
|
||
"closing_credit": null,
|
||
"extra": null
|
||
},
|
||
{
|
||
"row_number": 19,
|
||
"level": 1,
|
||
"parent_row_number": 12,
|
||
"row_value": "66.04",
|
||
"group_type": "ACCOUNT",
|
||
"group_name": "Счет",
|
||
"account_code_raw": "66.04",
|
||
"counterparty_name": null,
|
||
"counterparty_inn": null,
|
||
"data_type": "BU",
|
||
"opening_debit": null,
|
||
"opening_credit": null,
|
||
"turnover_debit": "946721.31",
|
||
"turnover_credit": "946721.31",
|
||
"closing_debit": null,
|
||
"closing_credit": null,
|
||
"extra": null
|
||
},
|
||
{
|
||
"row_number": 20,
|
||
"level": 2,
|
||
"parent_row_number": 19,
|
||
"row_value": "Юг-Финанс / ПЕКАРНЯ СЧАСТЛИВОЧНАЯ",
|
||
"group_type": "COUNTERPARTY",
|
||
"group_name": "Контрагенты",
|
||
"account_code_raw": "66.04",
|
||
"counterparty_name": "Юг-Финанс / ПЕКАРНЯ СЧАСТЛИВОЧНАЯ",
|
||
"counterparty_inn": null,
|
||
"data_type": "BU",
|
||
"opening_debit": null,
|
||
"opening_credit": null,
|
||
"turnover_debit": "946721.31",
|
||
"turnover_credit": "946721.31",
|
||
"closing_debit": null,
|
||
"closing_credit": null,
|
||
"extra": null
|
||
},
|
||
{
|
||
"row_number": 21,
|
||
"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": null,
|
||
"opening_credit": "104702251.52",
|
||
"turnover_debit": "346243300.01",
|
||
"turnover_credit": "241541103.13",
|
||
"closing_debit": null,
|
||
"closing_credit": "54.64",
|
||
"extra": null
|
||
}
|
||
],
|
||
"checks": {
|
||
"total_row_matches_root": true,
|
||
"balance_identity_violations": [],
|
||
"parent_sum_violations": []
|
||
}
|
||
}
|
||
]
|
||
}
|