Andrey Epifancev 8b9c22a6de test(golden): границы периода period_start/period_end/is_from_year_start в шапке ОСВ (arm-tabular-parser#14)
Только три новых поля шапки в 129 снимках ОСВ (113 файлов).

Co-Authored-By: Claude Sonnet <noreply@anthropic.com>
Claude-Session: cedd7915-2efe-41e5-988c-a9117033598b
2026-10-06 15:57:50 +04:00

276 lines
8.5 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.2",
"service": {
"name": "tabular-parser"
},
"status": "done",
"metrics": {
"rows": 10,
"warnings": [
"sheet=Лист_1 hierarchy=outline",
"валюта в шапке не найдена"
]
},
"documents": [
{
"document_type": "OSV",
"locator": "sheet:Лист_1",
"header": {
"organization_name": "ООО \"Тестовая организация\"",
"organization_inn": null,
"account_code_raw": "60",
"period_text": "1 квартал 2026 г.",
"period_year": 2026,
"period_quarter": "Q1",
"is_cumulative": true,
"period_start": "2026-01-01",
"period_end": "2026-03-31",
"is_from_year_start": true,
"data_type": "SUM",
"currency": null,
"header_variant": 2
},
"group_schema": [
{
"type": "ACCOUNT",
"name": "Субконто"
},
{
"type": "COUNTERPARTY",
"name": "Контрагенты",
"has_inn": true
},
{
"type": "CONTRACT",
"name": "Договоры"
}
],
"columns": {
"opening_debit": "F",
"opening_credit": "G",
"turnover_debit": "H",
"turnover_credit": "I",
"closing_debit": "J",
"closing_credit": "K",
"inn": "E"
},
"rows": [
{
"row_number": 9,
"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": "SUM",
"opening_debit": "135000.00",
"opening_credit": "120000.50",
"turnover_debit": "180000.50",
"turnover_credit": "320000.00",
"closing_debit": "115000.00",
"closing_credit": "240000.00",
"extra": null
},
{
"row_number": 10,
"level": 1,
"parent_row_number": 9,
"row_value": "60.01",
"group_type": "ACCOUNT",
"group_name": "Субконто",
"account_code_raw": "60.01",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "SUM",
"opening_debit": "15000.00",
"opening_credit": "120000.50",
"turnover_debit": "150000.50",
"turnover_credit": "220000.00",
"closing_debit": "65000.00",
"closing_credit": "240000.00",
"extra": null
},
{
"row_number": 11,
"level": 2,
"parent_row_number": 10,
"row_value": "ООО Альфа",
"group_type": "COUNTERPARTY",
"group_name": "Контрагенты",
"account_code_raw": "60.01",
"counterparty_name": "ООО Альфа",
"counterparty_inn": "7701234567",
"data_type": "SUM",
"opening_debit": null,
"opening_credit": "120000.50",
"turnover_debit": "60000.50",
"turnover_credit": "180000.00",
"closing_debit": null,
"closing_credit": "240000.00",
"extra": null
},
{
"row_number": 12,
"level": 3,
"parent_row_number": 11,
"row_value": "Договор поставки № 15 от 10.01.2026",
"group_type": "CONTRACT",
"group_name": "Договоры",
"account_code_raw": "60.01",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "SUM",
"opening_debit": null,
"opening_credit": "100000.00",
"turnover_debit": "60000.00",
"turnover_credit": "150000.00",
"closing_debit": null,
"closing_credit": "190000.00",
"extra": null
},
{
"row_number": 13,
"level": 3,
"parent_row_number": 11,
"row_value": "Договор № 7 от 01.02.2026",
"group_type": "CONTRACT",
"group_name": "Договоры",
"account_code_raw": "60.01",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "SUM",
"opening_debit": null,
"opening_credit": "20000.50",
"turnover_debit": "0.50",
"turnover_credit": "30000.00",
"closing_debit": null,
"closing_credit": "50000.00",
"extra": null
},
{
"row_number": 14,
"level": 2,
"parent_row_number": 10,
"row_value": "ООО Бета",
"group_type": "COUNTERPARTY",
"group_name": "Контрагенты",
"account_code_raw": "60.01",
"counterparty_name": "ООО Бета",
"counterparty_inn": "7707654321",
"data_type": "SUM",
"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": 15,
"level": 3,
"parent_row_number": 14,
"row_value": "Договор подряда № 3 от 15.01.2026",
"group_type": "CONTRACT",
"group_name": "Договоры",
"account_code_raw": "60.01",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "SUM",
"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": 16,
"level": 1,
"parent_row_number": 9,
"row_value": "60.02",
"group_type": "ACCOUNT",
"group_name": "Субконто",
"account_code_raw": "60.02",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "SUM",
"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": 17,
"level": 2,
"parent_row_number": 16,
"row_value": "ООО Гамма",
"group_type": "COUNTERPARTY",
"group_name": "Контрагенты",
"account_code_raw": "60.02",
"counterparty_name": "ООО Гамма",
"counterparty_inn": "5001234567",
"data_type": "SUM",
"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": 18,
"level": 3,
"parent_row_number": 17,
"row_value": "Договор аренды № 2 от 09.01.2026",
"group_type": "CONTRACT",
"group_name": "Договоры",
"account_code_raw": "60.02",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "SUM",
"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": 19,
"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": "SUM",
"opening_debit": "135000.00",
"opening_credit": "120000.50",
"turnover_debit": "180000.50",
"turnover_credit": "320000.00",
"closing_debit": "115000.00",
"closing_credit": "240000.00",
"extra": null
}
],
"checks": {
"total_row_matches_root": true,
"balance_identity_violations": [],
"parent_sum_violations": []
}
}
]
}