Andrey Epifancev 33de51a4a2 test(golden): relations_failed в снимках форм (arm-tabular-parser#14)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: cedd7915-2efe-41e5-988c-a9117033598b
2026-10-06 20:55:43 +04:00

397 lines
12 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": 17,
"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 квартал 2025 г.",
"period_year": 2025,
"period_quarter": "Q1",
"is_cumulative": true,
"period_start": "2025-01-01",
"period_end": "2025-03-31",
"is_from_year_start": true,
"data_type": "BU",
"currency": "RUB",
"header_variant": 1
},
"group_schema": [
{
"type": "ACCOUNT",
"name": "Счет"
},
{
"type": "COUNTERPARTY",
"name": "Контрагенты",
"has_inn": true
}
],
"columns": {
"opening_debit": "F",
"opening_credit": "G",
"turnover_debit": "H",
"turnover_credit": "I",
"closing_debit": "J",
"closing_credit": "K",
"inn": "E"
},
"rows": [
{
"row_number": 11,
"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": "BU",
"opening_debit": "135000.00",
"opening_credit": "262500.60",
"turnover_debit": "311000.35",
"turnover_credit": "572000.35",
"closing_debit": "115000.00",
"closing_credit": "503500.60",
"extra": null
},
{
"row_number": 12,
"level": 1,
"parent_row_number": 11,
"row_value": "60.01",
"group_type": "ACCOUNT",
"group_name": "Счет",
"account_code_raw": "60.01",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": "15000.00",
"opening_credit": "253000.50",
"turnover_debit": "273000.25",
"turnover_credit": "460000.00",
"closing_debit": "65000.00",
"closing_credit": "490000.25",
"extra": null
},
{
"row_number": 13,
"level": 2,
"parent_row_number": 12,
"row_value": "ООО Альфа",
"group_type": "COUNTERPARTY",
"group_name": "Контрагенты",
"account_code_raw": "60.01",
"counterparty_name": "ООО Альфа",
"counterparty_inn": "7701234567",
"data_type": "BU",
"opening_debit": null,
"opening_credit": "250000.50",
"turnover_debit": "180000.25",
"turnover_credit": "420000.00",
"closing_debit": null,
"closing_credit": "490000.25",
"extra": null
},
{
"row_number": 14,
"level": 2,
"parent_row_number": 12,
"row_value": "ООО Бета",
"group_type": "COUNTERPARTY",
"group_name": "Контрагенты",
"account_code_raw": "60.01",
"counterparty_name": "ООО Бета",
"counterparty_inn": "7707654321",
"data_type": "BU",
"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": 2,
"parent_row_number": 12,
"row_value": "Иванов Иван",
"group_type": "COUNTERPARTY",
"group_name": "Контрагенты",
"account_code_raw": "60.01",
"counterparty_name": "Иванов Иван",
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "3000.00",
"turnover_debit": "3000.00",
"turnover_credit": null,
"closing_debit": null,
"closing_credit": null,
"extra": null
},
{
"row_number": 16,
"level": 1,
"parent_row_number": 11,
"row_value": "60.02",
"group_type": "ACCOUNT",
"group_name": "Счет",
"account_code_raw": "60.02",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": "120000.00",
"opening_credit": "9500.10",
"turnover_debit": "38000.10",
"turnover_credit": "112000.35",
"closing_debit": "50000.00",
"closing_credit": "13500.35",
"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": "BU",
"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": 2,
"parent_row_number": 16,
"row_value": "ООО Дельта",
"group_type": "COUNTERPARTY",
"group_name": "Контрагенты",
"account_code_raw": "60.02",
"counterparty_name": "ООО Дельта",
"counterparty_inn": "7812345678",
"data_type": "BU",
"opening_debit": null,
"opening_credit": "8000.10",
"turnover_debit": "8000.10",
"turnover_credit": "12000.35",
"closing_debit": null,
"closing_credit": "12000.35",
"extra": null
},
{
"row_number": 19,
"level": 2,
"parent_row_number": 16,
"row_value": "ИП Сидоров",
"group_type": "COUNTERPARTY",
"group_name": "Контрагенты",
"account_code_raw": "60.02",
"counterparty_name": "ИП Сидоров",
"counterparty_inn": "500100732259",
"data_type": "BU",
"opening_debit": null,
"opening_credit": "1500.00",
"turnover_debit": null,
"turnover_credit": null,
"closing_debit": null,
"closing_credit": "1500.00",
"extra": null
},
{
"row_number": 20,
"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": "135000.00",
"opening_credit": "262500.60",
"turnover_debit": "311000.35",
"turnover_credit": "572000.35",
"closing_debit": "115000.00",
"closing_credit": "503500.60",
"extra": null
}
],
"checks": {
"total_row_matches_root": true,
"balance_identity_violations": [],
"parent_sum_violations": []
}
},
{
"document_type": "BALANCE",
"locator": "sheet:Баланс",
"header": {
"form_name": "Бухгалтерский баланс",
"organization_name": "ООО \"Тестовая организация\"",
"organization_name_confidence": 100.0,
"inn": "7700000000",
"inn_confidence": 100.0,
"report_date_text": "на 31 декабря 2024 г.",
"report_date": "2024-12-31",
"units": "тыс. руб.",
"okud": "0710001",
"okpo": null,
"okopf": null,
"okfs": null,
"address": null
},
"columns": [
{
"column_index": 0,
"label": "На 31 декабря 2024 г.",
"period_date": "2024-12-31"
}
],
"lines": [
{
"line_code": "1150",
"line_code_confidence": 100.0,
"line_name": "Основные средства",
"line_name_confidence": 100.0,
"values": [
{
"column_index": 0,
"amount": "100.00",
"confidence": 100.0,
"is_recognized": true
}
]
},
{
"line_code": "1100",
"line_code_confidence": 100.0,
"line_name": "Итого по разделу I",
"line_name_confidence": 100.0,
"values": [
{
"column_index": 0,
"amount": "100.00",
"confidence": 100.0,
"is_recognized": true
}
]
},
{
"line_code": "1210",
"line_code_confidence": 100.0,
"line_name": "Запасы",
"line_name_confidence": 100.0,
"values": [
{
"column_index": 0,
"amount": "50.00",
"confidence": 100.0,
"is_recognized": true
}
]
},
{
"line_code": "1200",
"line_code_confidence": 100.0,
"line_name": "Итого по разделу II",
"line_name_confidence": 100.0,
"values": [
{
"column_index": 0,
"amount": "50.00",
"confidence": 100.0,
"is_recognized": true
}
]
},
{
"line_code": "1600",
"line_code_confidence": 100.0,
"line_name": "БАЛАНС",
"line_name_confidence": 100.0,
"values": [
{
"column_index": 0,
"amount": "150.00",
"confidence": 100.0,
"is_recognized": true
}
]
},
{
"line_code": "1310",
"line_code_confidence": 100.0,
"line_name": "Уставный капитал",
"line_name_confidence": 100.0,
"values": [
{
"column_index": 0,
"amount": "150.00",
"confidence": 100.0,
"is_recognized": true
}
]
},
{
"line_code": "1300",
"line_code_confidence": 100.0,
"line_name": "Итого по разделу III",
"line_name_confidence": 100.0,
"values": [
{
"column_index": 0,
"amount": "150.00",
"confidence": 100.0,
"is_recognized": true
}
]
},
{
"line_code": "1700",
"line_code_confidence": 100.0,
"line_name": "БАЛАНС",
"line_name_confidence": 100.0,
"values": [
{
"column_index": 0,
"amount": "150.00",
"confidence": 100.0,
"is_recognized": true
}
]
}
],
"checks": {
"relations_failed": [],
"soft_relations_failed": [],
"duplicate_line_codes": []
}
}
]
}