Andrey Epifancev 8ee574e2cb golden/expected_osv_parse: снимки парсера для 66 ОСВ и синтетики
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
2026-10-05 15:28:34 +04:00

422 lines
14 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"schema_version": "1.1",
"service": {
"name": "tabular-parser"
},
"status": "done",
"metrics": {
"rows": 18,
"warnings": [
"sheet=Лист_1 hierarchy=outline"
]
},
"documents": [
{
"document_type": "OSV",
"locator": "sheet:Лист_1",
"header": {
"organization_name": "АО \"Русский бисквит\"",
"organization_inn": null,
"account_code_raw": "66",
"period_text": "3 квартал 2024 г.",
"period_year": 2024,
"period_quarter": "Q3",
"is_cumulative": false,
"data_type": "BU",
"currency": "RUB",
"header_variant": 1
},
"group_schema": [
{
"type": "ACCOUNT",
"name": "Счет"
},
{
"type": "COUNTERPARTY",
"name": "Контрагенты"
},
{
"type": "CONTRACT",
"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": "136240267.07",
"turnover_debit": "1305491.84",
"turnover_credit": "60382331.15",
"closing_debit": null,
"closing_credit": "195317106.38",
"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": "94044750.00",
"turnover_debit": null,
"turnover_credit": "58884690.00",
"closing_debit": null,
"closing_credit": "152929440.00",
"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": "94044750.00",
"turnover_debit": null,
"turnover_credit": "58884690.00",
"closing_debit": null,
"closing_credit": "152929440.00",
"extra": null
},
{
"row_number": 15,
"level": 3,
"parent_row_number": 14,
"row_value": "Сбербанк Договор № 7M-F0Z-ZY9 об открытии возобновляемой кредитной линии",
"group_type": "CONTRACT",
"group_name": "Договоры",
"account_code_raw": "66.01",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "19208550.00",
"turnover_debit": null,
"turnover_credit": "58884690.00",
"closing_debit": null,
"closing_credit": "78093240.00",
"extra": null
},
{
"row_number": 16,
"level": 3,
"parent_row_number": 14,
"row_value": "Сбербанк Договор № 7M-F3E-ESIоб открытии возобновляемой кредитной линии",
"group_type": "CONTRACT",
"group_name": "Договоры",
"account_code_raw": "66.01",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "74836200.00",
"turnover_debit": null,
"turnover_credit": null,
"closing_debit": null,
"closing_credit": "74836200.00",
"extra": null
},
{
"row_number": 17,
"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": "23385.92",
"turnover_debit": "955491.84",
"turnover_credit": "969772.30",
"closing_debit": null,
"closing_credit": "37666.38",
"extra": null
},
{
"row_number": 18,
"level": 2,
"parent_row_number": 17,
"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": "23385.92",
"turnover_debit": "955491.84",
"turnover_credit": "969772.30",
"closing_debit": null,
"closing_credit": "37666.38",
"extra": null
},
{
"row_number": 19,
"level": 3,
"parent_row_number": 18,
"row_value": "Сбербанк Договор № 7M-F0Z-ZY9 за пользование лимитом",
"group_type": "CONTRACT",
"group_name": "Договоры",
"account_code_raw": "66.02",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": null,
"turnover_debit": "1795.16",
"turnover_credit": "1795.16",
"closing_debit": null,
"closing_credit": null,
"extra": null
},
{
"row_number": 20,
"level": 3,
"parent_row_number": 18,
"row_value": "Сбербанк Договор № 7M-F0Z-ZY9 об открытии возобновляемой кредитной линии",
"group_type": "CONTRACT",
"group_name": "Договоры",
"account_code_raw": "66.02",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "4833.63",
"turnover_debit": "374929.26",
"turnover_credit": "389209.72",
"closing_debit": null,
"closing_credit": "19114.09",
"extra": null
},
{
"row_number": 21,
"level": 3,
"parent_row_number": 18,
"row_value": "Сбербанк Договор № 7M-F3E-ESI за пользование лимитом",
"group_type": "CONTRACT",
"group_name": "Договоры",
"account_code_raw": "66.02",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": null,
"turnover_debit": "4.12",
"turnover_credit": "4.12",
"closing_debit": null,
"closing_credit": null,
"extra": null
},
{
"row_number": 22,
"level": 3,
"parent_row_number": 18,
"row_value": "Сбербанк Договор № 7M-F3E-ESIоб открытии возобновляемой кредитной линии",
"group_type": "CONTRACT",
"group_name": "Договоры",
"account_code_raw": "66.02",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "18511.31",
"turnover_debit": "577506.46",
"turnover_credit": "577506.46",
"closing_debit": null,
"closing_credit": "18511.31",
"extra": null
},
{
"row_number": 23,
"level": 3,
"parent_row_number": 18,
"row_value": "Сбербанк Договор № 7M-GPF-6X4 за пользование лимитом",
"group_type": "CONTRACT",
"group_name": "Договоры",
"account_code_raw": "66.02",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "40.98",
"turnover_debit": "1256.84",
"turnover_credit": "1256.84",
"closing_debit": null,
"closing_credit": "40.98",
"extra": null
},
{
"row_number": 24,
"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": "42000000.00",
"turnover_debit": null,
"turnover_credit": null,
"closing_debit": null,
"closing_credit": "42000000.00",
"extra": null
},
{
"row_number": 25,
"level": 2,
"parent_row_number": 24,
"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": "42000000.00",
"turnover_debit": null,
"turnover_credit": null,
"closing_debit": null,
"closing_credit": "42000000.00",
"extra": null
},
{
"row_number": 26,
"level": 3,
"parent_row_number": 25,
"row_value": "Пекарня договор займа б/н от 02.05.2024",
"group_type": "CONTRACT",
"group_name": "Договоры",
"account_code_raw": "66.03",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "42000000.00",
"turnover_debit": null,
"turnover_credit": null,
"closing_debit": null,
"closing_credit": "42000000.00",
"extra": null
},
{
"row_number": 27,
"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": "172131.15",
"turnover_debit": "350000.00",
"turnover_credit": "527868.85",
"closing_debit": null,
"closing_credit": "350000.00",
"extra": null
},
{
"row_number": 28,
"level": 2,
"parent_row_number": 27,
"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": "172131.15",
"turnover_debit": "350000.00",
"turnover_credit": "527868.85",
"closing_debit": null,
"closing_credit": "350000.00",
"extra": null
},
{
"row_number": 29,
"level": 3,
"parent_row_number": 28,
"row_value": "Пекарня договор займа б/н от 02.05.2024",
"group_type": "CONTRACT",
"group_name": "Договоры",
"account_code_raw": "66.04",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "172131.15",
"turnover_debit": "350000.00",
"turnover_credit": "527868.85",
"closing_debit": null,
"closing_credit": "350000.00",
"extra": null
},
{
"row_number": 30,
"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": "136240267.07",
"turnover_debit": "1305491.84",
"turnover_credit": "60382331.15",
"closing_debit": null,
"closing_credit": "195317106.38",
"extra": null
}
],
"checks": {
"total_row_matches_root": true,
"balance_identity_violations": [],
"parent_sum_violations": []
}
}
]
}