Golden синтетики s51, s52, s54 под tp#81: запасной признак
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
aa7effa916
commit
200353ec2b
@ -1,17 +1,291 @@
|
||||
{
|
||||
"status": "error",
|
||||
"error": {
|
||||
"code": "INVALID_DOCUMENT",
|
||||
"message": "в книге нет листов ОСВ или форм: листов просмотрено 1"
|
||||
"schema_version": "2.0",
|
||||
"service": {
|
||||
"name": "tabular-parser"
|
||||
},
|
||||
"status": "done",
|
||||
"metrics": {
|
||||
"warnings": [
|
||||
{
|
||||
"code": "SHEET_OTHER",
|
||||
"severity": "info",
|
||||
"message": "лист без признаков ОСВ и формы",
|
||||
"locator": "sheet:ОВ"
|
||||
"rows": 9,
|
||||
"warnings": []
|
||||
},
|
||||
"documents": [
|
||||
{
|
||||
"document_type": "OSV",
|
||||
"locator": "sheet:ОВ",
|
||||
"status": "done",
|
||||
"warnings": [
|
||||
{
|
||||
"code": "OSV_HIERARCHY_BY_OUTLINE",
|
||||
"severity": "info",
|
||||
"message": "иерархия строк — по группировке листа (outline)"
|
||||
},
|
||||
{
|
||||
"code": "OSV_HEADER",
|
||||
"severity": "info",
|
||||
"message": "наименование организации в шапке не найдено"
|
||||
},
|
||||
{
|
||||
"code": "OSV_HEADER",
|
||||
"severity": "info",
|
||||
"message": "период (после «за» или «Период:») в шапке не найден"
|
||||
},
|
||||
{
|
||||
"code": "OSV_HEADER",
|
||||
"severity": "info",
|
||||
"message": "тип выводимых данных (БУ/НУ/сумма) в шапке не найден"
|
||||
},
|
||||
{
|
||||
"code": "OSV_HEADER",
|
||||
"severity": "info",
|
||||
"message": "валюта в шапке не найдена"
|
||||
},
|
||||
{
|
||||
"code": "OSV_HEADER",
|
||||
"severity": "info",
|
||||
"message": "код счёта «60» взят из первой строки-счёта таблицы: в шапке «по счету …» нет"
|
||||
},
|
||||
{
|
||||
"code": "OSV_HEADER",
|
||||
"severity": "info",
|
||||
"message": "вид данных в шапке не указан — строки без метки приняты как БУ"
|
||||
},
|
||||
{
|
||||
"code": "OSV_ROWS",
|
||||
"severity": "info",
|
||||
"message": "вид субконто в шапке не назван: строки аналитики счёта 60.01 приняты за контрагентов по плану счетов — проверьте"
|
||||
},
|
||||
{
|
||||
"code": "OSV_ROWS",
|
||||
"severity": "info",
|
||||
"message": "вид субконто в шапке не назван: строки аналитики счёта 60.02 приняты за контрагентов по плану счетов — проверьте"
|
||||
}
|
||||
],
|
||||
"header": {
|
||||
"organization_name": "",
|
||||
"organization_inn": null,
|
||||
"account_code_raw": "60",
|
||||
"period_text": "",
|
||||
"period_year": null,
|
||||
"period_quarter": null,
|
||||
"is_cumulative": null,
|
||||
"period_start": null,
|
||||
"period_end": null,
|
||||
"is_from_year_start": null,
|
||||
"data_type": null,
|
||||
"currency": null,
|
||||
"header_variant": 1
|
||||
},
|
||||
"group_schema": [
|
||||
{
|
||||
"type": "ACCOUNT",
|
||||
"name": "Счет"
|
||||
}
|
||||
],
|
||||
"columns": {
|
||||
"opening_debit": "B",
|
||||
"opening_credit": "C",
|
||||
"turnover_debit": "D",
|
||||
"turnover_credit": "E",
|
||||
"closing_debit": "F",
|
||||
"closing_credit": "G"
|
||||
},
|
||||
"rows": [
|
||||
{
|
||||
"row_number": 2,
|
||||
"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": 3,
|
||||
"level": 1,
|
||||
"parent_row_number": 2,
|
||||
"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": 4,
|
||||
"level": 2,
|
||||
"parent_row_number": 3,
|
||||
"row_value": "ООО Альфа",
|
||||
"group_type": "COUNTERPARTY",
|
||||
"group_name": null,
|
||||
"account_code_raw": "60.01",
|
||||
"counterparty_name": "ООО Альфа",
|
||||
"counterparty_inn": null,
|
||||
"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": 5,
|
||||
"level": 2,
|
||||
"parent_row_number": 3,
|
||||
"row_value": "ООО Бета",
|
||||
"group_type": "COUNTERPARTY",
|
||||
"group_name": null,
|
||||
"account_code_raw": "60.01",
|
||||
"counterparty_name": "ООО Бета",
|
||||
"counterparty_inn": null,
|
||||
"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": 6,
|
||||
"level": 2,
|
||||
"parent_row_number": 3,
|
||||
"row_value": "Иванов Иван",
|
||||
"group_type": "COUNTERPARTY",
|
||||
"group_name": null,
|
||||
"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": 7,
|
||||
"level": 1,
|
||||
"parent_row_number": 2,
|
||||
"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": 8,
|
||||
"level": 2,
|
||||
"parent_row_number": 7,
|
||||
"row_value": "ООО Гамма",
|
||||
"group_type": "COUNTERPARTY",
|
||||
"group_name": null,
|
||||
"account_code_raw": "60.02",
|
||||
"counterparty_name": "ООО Гамма",
|
||||
"counterparty_inn": null,
|
||||
"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": 9,
|
||||
"level": 2,
|
||||
"parent_row_number": 7,
|
||||
"row_value": "ООО Дельта",
|
||||
"group_type": "COUNTERPARTY",
|
||||
"group_name": null,
|
||||
"account_code_raw": "60.02",
|
||||
"counterparty_name": "ООО Дельта",
|
||||
"counterparty_inn": null,
|
||||
"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": 10,
|
||||
"level": 2,
|
||||
"parent_row_number": 7,
|
||||
"row_value": "ИП Сидоров",
|
||||
"group_type": "COUNTERPARTY",
|
||||
"group_name": null,
|
||||
"account_code_raw": "60.02",
|
||||
"counterparty_name": "ИП Сидоров",
|
||||
"counterparty_inn": null,
|
||||
"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": 11,
|
||||
"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": []
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -16,17 +16,290 @@
|
||||
]
|
||||
},
|
||||
"documents": [
|
||||
{
|
||||
"document_type": "OSV",
|
||||
"locator": "sheet:ОВ",
|
||||
"status": "done",
|
||||
"warnings": [
|
||||
{
|
||||
"code": "OSV_HIERARCHY_BY_OUTLINE",
|
||||
"severity": "info",
|
||||
"message": "иерархия строк — по группировке листа (outline)"
|
||||
},
|
||||
{
|
||||
"code": "OSV_HEADER",
|
||||
"severity": "info",
|
||||
"message": "наименование организации в шапке не найдено"
|
||||
},
|
||||
{
|
||||
"code": "OSV_HEADER",
|
||||
"severity": "info",
|
||||
"message": "период (после «за» или «Период:») в шапке не найден"
|
||||
},
|
||||
{
|
||||
"code": "OSV_HEADER",
|
||||
"severity": "info",
|
||||
"message": "тип выводимых данных (БУ/НУ/сумма) в шапке не найден"
|
||||
},
|
||||
{
|
||||
"code": "OSV_HEADER",
|
||||
"severity": "info",
|
||||
"message": "валюта в шапке не найдена"
|
||||
},
|
||||
{
|
||||
"code": "OSV_HEADER",
|
||||
"severity": "info",
|
||||
"message": "код счёта «60» взят из первой строки-счёта таблицы: в шапке «по счету …» нет"
|
||||
},
|
||||
{
|
||||
"code": "OSV_HEADER",
|
||||
"severity": "info",
|
||||
"message": "вид данных в шапке не указан — строки без метки приняты как БУ"
|
||||
},
|
||||
{
|
||||
"code": "OSV_ROWS",
|
||||
"severity": "info",
|
||||
"message": "вид субконто в шапке не назван: строки аналитики счёта 60.01 приняты за контрагентов по плану счетов — проверьте"
|
||||
},
|
||||
{
|
||||
"code": "OSV_ROWS",
|
||||
"severity": "info",
|
||||
"message": "вид субконто в шапке не назван: строки аналитики счёта 60.02 приняты за контрагентов по плану счетов — проверьте"
|
||||
}
|
||||
],
|
||||
"header": {
|
||||
"organization_name": "",
|
||||
"organization_inn": null,
|
||||
"account_code_raw": "60",
|
||||
"period_text": "",
|
||||
"period_year": null,
|
||||
"period_quarter": null,
|
||||
"is_cumulative": null,
|
||||
"period_start": null,
|
||||
"period_end": null,
|
||||
"is_from_year_start": null,
|
||||
"data_type": null,
|
||||
"currency": null,
|
||||
"header_variant": 1
|
||||
},
|
||||
"group_schema": [
|
||||
{
|
||||
"type": "ACCOUNT",
|
||||
"name": "Счет"
|
||||
}
|
||||
],
|
||||
"columns": {
|
||||
"opening_debit": "B",
|
||||
"opening_credit": "C",
|
||||
"turnover_debit": "D",
|
||||
"turnover_credit": "E",
|
||||
"closing_debit": "F",
|
||||
"closing_credit": "G"
|
||||
},
|
||||
"rows": [
|
||||
{
|
||||
"row_number": 2,
|
||||
"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": 3,
|
||||
"level": 1,
|
||||
"parent_row_number": 2,
|
||||
"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": 4,
|
||||
"level": 2,
|
||||
"parent_row_number": 3,
|
||||
"row_value": "ООО Альфа",
|
||||
"group_type": "COUNTERPARTY",
|
||||
"group_name": null,
|
||||
"account_code_raw": "60.01",
|
||||
"counterparty_name": "ООО Альфа",
|
||||
"counterparty_inn": null,
|
||||
"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": 5,
|
||||
"level": 2,
|
||||
"parent_row_number": 3,
|
||||
"row_value": "ООО Бета",
|
||||
"group_type": "COUNTERPARTY",
|
||||
"group_name": null,
|
||||
"account_code_raw": "60.01",
|
||||
"counterparty_name": "ООО Бета",
|
||||
"counterparty_inn": null,
|
||||
"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": 6,
|
||||
"level": 2,
|
||||
"parent_row_number": 3,
|
||||
"row_value": "Иванов Иван",
|
||||
"group_type": "COUNTERPARTY",
|
||||
"group_name": null,
|
||||
"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": 7,
|
||||
"level": 1,
|
||||
"parent_row_number": 2,
|
||||
"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": 8,
|
||||
"level": 2,
|
||||
"parent_row_number": 7,
|
||||
"row_value": "ООО Гамма",
|
||||
"group_type": "COUNTERPARTY",
|
||||
"group_name": null,
|
||||
"account_code_raw": "60.02",
|
||||
"counterparty_name": "ООО Гамма",
|
||||
"counterparty_inn": null,
|
||||
"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": 9,
|
||||
"level": 2,
|
||||
"parent_row_number": 7,
|
||||
"row_value": "ООО Дельта",
|
||||
"group_type": "COUNTERPARTY",
|
||||
"group_name": null,
|
||||
"account_code_raw": "60.02",
|
||||
"counterparty_name": "ООО Дельта",
|
||||
"counterparty_inn": null,
|
||||
"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": 10,
|
||||
"level": 2,
|
||||
"parent_row_number": 7,
|
||||
"row_value": "ИП Сидоров",
|
||||
"group_type": "COUNTERPARTY",
|
||||
"group_name": null,
|
||||
"account_code_raw": "60.02",
|
||||
"counterparty_name": "ИП Сидоров",
|
||||
"counterparty_inn": null,
|
||||
"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": 11,
|
||||
"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:Бухгалтерский баланс,ОВ",
|
||||
"locator": "sheet:Бухгалтерский баланс",
|
||||
"status": "needs_check",
|
||||
"form_variant": "full",
|
||||
"warnings": [
|
||||
{
|
||||
"code": "SEGMENT_COLUMNS_MISMATCH",
|
||||
"severity": "error",
|
||||
"message": "в сегменте со строки 7 колонок значений 5, в первом сегменте 1; лишние столбцы сегмента: 3, 4, 5, 6"
|
||||
},
|
||||
{
|
||||
"code": "NO_ORGANIZATION_NO_INN",
|
||||
"severity": "error",
|
||||
@ -128,213 +401,6 @@
|
||||
"needs_review": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"row_index": 2,
|
||||
"ref": "ОВ!B3",
|
||||
"line_status": "ok",
|
||||
"line_code": "15000",
|
||||
"line_code_text": "15000",
|
||||
"line_code_confidence": 100.0,
|
||||
"line_name": "60.01",
|
||||
"line_name_confidence": 100.0,
|
||||
"parent_ref": null,
|
||||
"needs_review": false,
|
||||
"values": [
|
||||
{
|
||||
"column_index": 2,
|
||||
"amount": "253000.50",
|
||||
"string_value": null,
|
||||
"text": "253000,5",
|
||||
"confidence": 100.0,
|
||||
"is_recognized": true,
|
||||
"needs_review": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"row_index": 3,
|
||||
"ref": "ОВ!A4",
|
||||
"line_status": "detail",
|
||||
"line_code": null,
|
||||
"line_code_text": null,
|
||||
"line_code_confidence": null,
|
||||
"line_name": "ООО Альфа",
|
||||
"line_name_confidence": 100.0,
|
||||
"parent_ref": "ОВ!B3",
|
||||
"needs_review": false,
|
||||
"values": [
|
||||
{
|
||||
"column_index": 2,
|
||||
"amount": "250000.50",
|
||||
"string_value": null,
|
||||
"text": "250000,5",
|
||||
"confidence": 100.0,
|
||||
"is_recognized": true,
|
||||
"needs_review": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"row_index": 4,
|
||||
"ref": "ОВ!B5",
|
||||
"line_status": "ok",
|
||||
"line_code": "15000",
|
||||
"line_code_text": "15000",
|
||||
"line_code_confidence": 100.0,
|
||||
"line_name": "ООО Бета",
|
||||
"line_name_confidence": 100.0,
|
||||
"parent_ref": null,
|
||||
"needs_review": false,
|
||||
"values": [
|
||||
{
|
||||
"column_index": 2,
|
||||
"amount": null,
|
||||
"string_value": null,
|
||||
"text": null,
|
||||
"confidence": 100.0,
|
||||
"is_recognized": true,
|
||||
"needs_review": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"row_index": 5,
|
||||
"ref": "ОВ!A6",
|
||||
"line_status": "detail",
|
||||
"line_code": null,
|
||||
"line_code_text": null,
|
||||
"line_code_confidence": null,
|
||||
"line_name": "Иванов Иван",
|
||||
"line_name_confidence": 100.0,
|
||||
"parent_ref": "ОВ!B5",
|
||||
"needs_review": false,
|
||||
"values": [
|
||||
{
|
||||
"column_index": 2,
|
||||
"amount": "3000.00",
|
||||
"string_value": null,
|
||||
"text": "3000",
|
||||
"confidence": 100.0,
|
||||
"is_recognized": true,
|
||||
"needs_review": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"row_index": 6,
|
||||
"ref": "ОВ!B7",
|
||||
"line_status": "unreadable",
|
||||
"line_code": null,
|
||||
"line_code_text": "120000",
|
||||
"line_code_confidence": 100.0,
|
||||
"line_name": "60.02",
|
||||
"line_name_confidence": 100.0,
|
||||
"parent_ref": null,
|
||||
"needs_review": false,
|
||||
"values": [
|
||||
{
|
||||
"column_index": 2,
|
||||
"amount": "9500.10",
|
||||
"string_value": null,
|
||||
"text": "9500,1",
|
||||
"confidence": 100.0,
|
||||
"is_recognized": true,
|
||||
"needs_review": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"row_index": 7,
|
||||
"ref": "ОВ!B8",
|
||||
"line_status": "unreadable",
|
||||
"line_code": null,
|
||||
"line_code_text": "120000",
|
||||
"line_code_confidence": 100.0,
|
||||
"line_name": "ООО Гамма",
|
||||
"line_name_confidence": 100.0,
|
||||
"parent_ref": null,
|
||||
"needs_review": false,
|
||||
"values": [
|
||||
{
|
||||
"column_index": 2,
|
||||
"amount": null,
|
||||
"string_value": null,
|
||||
"text": null,
|
||||
"confidence": 100.0,
|
||||
"is_recognized": true,
|
||||
"needs_review": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"row_index": 8,
|
||||
"ref": "ОВ!A9",
|
||||
"line_status": "detail",
|
||||
"line_code": null,
|
||||
"line_code_text": null,
|
||||
"line_code_confidence": null,
|
||||
"line_name": "ООО Дельта",
|
||||
"line_name_confidence": 100.0,
|
||||
"parent_ref": "ОВ!B5",
|
||||
"needs_review": false,
|
||||
"values": [
|
||||
{
|
||||
"column_index": 2,
|
||||
"amount": "8000.10",
|
||||
"string_value": null,
|
||||
"text": "8000,1",
|
||||
"confidence": 100.0,
|
||||
"is_recognized": true,
|
||||
"needs_review": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"row_index": 9,
|
||||
"ref": "ОВ!A10",
|
||||
"line_status": "detail",
|
||||
"line_code": null,
|
||||
"line_code_text": null,
|
||||
"line_code_confidence": null,
|
||||
"line_name": "ИП Сидоров",
|
||||
"line_name_confidence": 100.0,
|
||||
"parent_ref": "ОВ!B5",
|
||||
"needs_review": false,
|
||||
"values": [
|
||||
{
|
||||
"column_index": 2,
|
||||
"amount": "1500.00",
|
||||
"string_value": null,
|
||||
"text": "1500",
|
||||
"confidence": 100.0,
|
||||
"is_recognized": true,
|
||||
"needs_review": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"row_index": 10,
|
||||
"ref": "ОВ!B11",
|
||||
"line_status": "unreadable",
|
||||
"line_code": null,
|
||||
"line_code_text": "135000",
|
||||
"line_code_confidence": 100.0,
|
||||
"line_name": "Итого",
|
||||
"line_name_confidence": 100.0,
|
||||
"parent_ref": null,
|
||||
"needs_review": false,
|
||||
"values": [
|
||||
{
|
||||
"column_index": 2,
|
||||
"amount": "262500.60",
|
||||
"string_value": null,
|
||||
"text": "262500,6",
|
||||
"confidence": 100.0,
|
||||
"is_recognized": true,
|
||||
"needs_review": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"checks": {
|
||||
@ -375,18 +441,7 @@
|
||||
"actual": "340000.00"
|
||||
}
|
||||
],
|
||||
"soft_relations_failed": [
|
||||
{
|
||||
"column_index": 2,
|
||||
"relation": "1500 = 15000",
|
||||
"codes": [
|
||||
"1500",
|
||||
"15000"
|
||||
],
|
||||
"expected": null,
|
||||
"actual": "253000.50"
|
||||
}
|
||||
]
|
||||
"soft_relations_failed": []
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@ -1,17 +1,296 @@
|
||||
{
|
||||
"status": "error",
|
||||
"error": {
|
||||
"code": "INVALID_DOCUMENT",
|
||||
"message": "в книге нет листов ОСВ или форм: листов просмотрено 1"
|
||||
"schema_version": "2.0",
|
||||
"service": {
|
||||
"name": "tabular-parser"
|
||||
},
|
||||
"status": "done",
|
||||
"metrics": {
|
||||
"warnings": [
|
||||
{
|
||||
"code": "SHEET_OTHER",
|
||||
"severity": "info",
|
||||
"message": "лист без признаков ОСВ и формы",
|
||||
"locator": "sheet:ОВ"
|
||||
"rows": 9,
|
||||
"warnings": []
|
||||
},
|
||||
"documents": [
|
||||
{
|
||||
"document_type": "OSV",
|
||||
"locator": "sheet:ОВ",
|
||||
"status": "done",
|
||||
"warnings": [
|
||||
{
|
||||
"code": "OSV_HIERARCHY_BY_INDENT",
|
||||
"severity": "info",
|
||||
"message": "иерархия строк — по отступам (indent)"
|
||||
},
|
||||
{
|
||||
"code": "OSV_HEADER",
|
||||
"severity": "info",
|
||||
"message": "наименование организации в шапке не найдено"
|
||||
},
|
||||
{
|
||||
"code": "OSV_HEADER",
|
||||
"severity": "info",
|
||||
"message": "период (после «за» или «Период:») в шапке не найден"
|
||||
},
|
||||
{
|
||||
"code": "OSV_HEADER",
|
||||
"severity": "info",
|
||||
"message": "тип выводимых данных (БУ/НУ/сумма) в шапке не найден"
|
||||
},
|
||||
{
|
||||
"code": "OSV_HEADER",
|
||||
"severity": "info",
|
||||
"message": "валюта в шапке не найдена"
|
||||
},
|
||||
{
|
||||
"code": "OSV_HEADER",
|
||||
"severity": "info",
|
||||
"message": "код счёта «60» взят из первой строки-счёта таблицы: в шапке «по счету …» нет"
|
||||
},
|
||||
{
|
||||
"code": "OSV_HEADER",
|
||||
"severity": "info",
|
||||
"message": "вид данных в шапке не указан — строки без метки приняты как БУ"
|
||||
},
|
||||
{
|
||||
"code": "OSV_ROWS",
|
||||
"severity": "info",
|
||||
"message": "вид субконто в шапке не назван: строки аналитики счёта 60.01 приняты за контрагентов по плану счетов — проверьте"
|
||||
},
|
||||
{
|
||||
"code": "OSV_ROWS",
|
||||
"severity": "info",
|
||||
"message": "вид субконто в шапке не назван: строки аналитики счёта 60.02 приняты за контрагентов по плану счетов — проверьте"
|
||||
},
|
||||
{
|
||||
"code": "OSV_XLSB_NO_OUTLINE",
|
||||
"severity": "info",
|
||||
"message": "xlsb: outline level недоступен"
|
||||
}
|
||||
],
|
||||
"header": {
|
||||
"organization_name": "",
|
||||
"organization_inn": null,
|
||||
"account_code_raw": "60",
|
||||
"period_text": "",
|
||||
"period_year": null,
|
||||
"period_quarter": null,
|
||||
"is_cumulative": null,
|
||||
"period_start": null,
|
||||
"period_end": null,
|
||||
"is_from_year_start": null,
|
||||
"data_type": null,
|
||||
"currency": null,
|
||||
"header_variant": 1
|
||||
},
|
||||
"group_schema": [
|
||||
{
|
||||
"type": "ACCOUNT",
|
||||
"name": "Счет"
|
||||
}
|
||||
],
|
||||
"columns": {
|
||||
"opening_debit": "B",
|
||||
"opening_credit": "C",
|
||||
"turnover_debit": "D",
|
||||
"turnover_credit": "E",
|
||||
"closing_debit": "F",
|
||||
"closing_credit": "G"
|
||||
},
|
||||
"rows": [
|
||||
{
|
||||
"row_number": 2,
|
||||
"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": 3,
|
||||
"level": 1,
|
||||
"parent_row_number": 2,
|
||||
"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": 4,
|
||||
"level": 2,
|
||||
"parent_row_number": 3,
|
||||
"row_value": "ООО Альфа",
|
||||
"group_type": "COUNTERPARTY",
|
||||
"group_name": null,
|
||||
"account_code_raw": "60.01",
|
||||
"counterparty_name": "ООО Альфа",
|
||||
"counterparty_inn": null,
|
||||
"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": 5,
|
||||
"level": 2,
|
||||
"parent_row_number": 3,
|
||||
"row_value": "ООО Бета",
|
||||
"group_type": "COUNTERPARTY",
|
||||
"group_name": null,
|
||||
"account_code_raw": "60.01",
|
||||
"counterparty_name": "ООО Бета",
|
||||
"counterparty_inn": null,
|
||||
"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": 6,
|
||||
"level": 2,
|
||||
"parent_row_number": 3,
|
||||
"row_value": "Иванов Иван",
|
||||
"group_type": "COUNTERPARTY",
|
||||
"group_name": null,
|
||||
"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": 7,
|
||||
"level": 1,
|
||||
"parent_row_number": 2,
|
||||
"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": 8,
|
||||
"level": 2,
|
||||
"parent_row_number": 7,
|
||||
"row_value": "ООО Гамма",
|
||||
"group_type": "COUNTERPARTY",
|
||||
"group_name": null,
|
||||
"account_code_raw": "60.02",
|
||||
"counterparty_name": "ООО Гамма",
|
||||
"counterparty_inn": null,
|
||||
"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": 9,
|
||||
"level": 2,
|
||||
"parent_row_number": 7,
|
||||
"row_value": "ООО Дельта",
|
||||
"group_type": "COUNTERPARTY",
|
||||
"group_name": null,
|
||||
"account_code_raw": "60.02",
|
||||
"counterparty_name": "ООО Дельта",
|
||||
"counterparty_inn": null,
|
||||
"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": 10,
|
||||
"level": 2,
|
||||
"parent_row_number": 7,
|
||||
"row_value": "ИП Сидоров",
|
||||
"group_type": "COUNTERPARTY",
|
||||
"group_name": null,
|
||||
"account_code_raw": "60.02",
|
||||
"counterparty_name": "ИП Сидоров",
|
||||
"counterparty_inn": null,
|
||||
"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": 11,
|
||||
"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": []
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user