test(golden): s40–s44 — вид данных BU по умолчанию и предупреждение после слияния трека A (#59)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Andrey Epifancev 2026-10-19 13:25:07 +04:00
parent b7c16e8541
commit 4b3752e55c
5 changed files with 50 additions and 25 deletions

View File

@ -28,6 +28,11 @@
"code": "OSV_HEADER",
"severity": "info",
"message": "валюта в шапке не найдена"
},
{
"code": "OSV_HEADER",
"severity": "info",
"message": "вид данных в шапке не указан — строки без метки приняты как БУ"
}
],
"header": {
@ -74,7 +79,7 @@
"account_code_raw": "76.Н.1",
"counterparty_name": "Август - Агро ООО",
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": "1000.00",
"opening_credit": null,
"turnover_debit": "500.00",
@ -93,7 +98,7 @@
"account_code_raw": "76.Н.1",
"counterparty_name": "АВИС ООО",
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "200.00",
"turnover_debit": "100.00",
@ -112,7 +117,7 @@
"account_code_raw": "76.Н.1",
"counterparty_name": "Агроаспект ООО",
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": null,
"turnover_debit": "50.00",
@ -131,7 +136,7 @@
"account_code_raw": null,
"counterparty_name": null,
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": "1000.00",
"opening_credit": "200.00",
"turnover_debit": null,
@ -150,7 +155,7 @@
"account_code_raw": null,
"counterparty_name": null,
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": "800.00",
"opening_credit": null,
"turnover_debit": "650.00",

View File

@ -28,6 +28,11 @@
"code": "OSV_HEADER",
"severity": "info",
"message": "валюта в шапке не найдена"
},
{
"code": "OSV_HEADER",
"severity": "info",
"message": "вид данных в шапке не указан — строки без метки приняты как БУ"
}
],
"header": {
@ -74,7 +79,7 @@
"account_code_raw": "60",
"counterparty_name": "Автодор-Платные Дороги ООО",
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": "820.21",
"opening_credit": null,
"turnover_debit": "5000.00",
@ -93,7 +98,7 @@
"account_code_raw": "60",
"counterparty_name": "АГРОПРОФИ ООО",
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "2763.79",
"turnover_debit": null,
@ -112,7 +117,7 @@
"account_code_raw": null,
"counterparty_name": null,
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": "820.21",
"opening_credit": "2763.79",
"turnover_debit": null,
@ -131,7 +136,7 @@
"account_code_raw": null,
"counterparty_name": null,
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "1943.58",
"turnover_debit": "5000.00",

View File

@ -28,6 +28,11 @@
"code": "OSV_HEADER",
"severity": "info",
"message": "валюта в шапке не найдена"
},
{
"code": "OSV_HEADER",
"severity": "info",
"message": "вид данных в шапке не указан — строки без метки приняты как БУ"
}
],
"header": {
@ -70,7 +75,7 @@
"account_code_raw": "76.2",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": "1000.00",
"opening_credit": null,
"turnover_debit": null,
@ -89,7 +94,7 @@
"account_code_raw": "76.5",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "300.00",
"turnover_debit": "700.00",
@ -108,7 +113,7 @@
"account_code_raw": "76.Н",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": null,
"turnover_debit": "5000.00",
@ -127,7 +132,7 @@
"account_code_raw": "76.Н.1",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": null,
"turnover_debit": "5000.00",
@ -146,7 +151,7 @@
"account_code_raw": null,
"counterparty_name": null,
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": "1000.00",
"opening_credit": "300.00",
"turnover_debit": null,
@ -165,7 +170,7 @@
"account_code_raw": null,
"counterparty_name": null,
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": "700.00",
"opening_credit": null,
"turnover_debit": "5700.00",

View File

@ -29,6 +29,11 @@
"severity": "info",
"message": "валюта в шапке не найдена"
},
{
"code": "OSV_HEADER",
"severity": "info",
"message": "вид данных в шапке не указан — строки без метки приняты как БУ"
},
{
"code": "OSV_ROWS",
"severity": "info",
@ -75,7 +80,7 @@
"account_code_raw": "60.01",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": "34618000.00",
"opening_credit": null,
"turnover_debit": "4236500.00",
@ -94,7 +99,7 @@
"account_code_raw": "60.01",
"counterparty_name": "ИП Иванов А.А.",
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": "34618000.00",
"opening_credit": null,
"turnover_debit": null,
@ -113,7 +118,7 @@
"account_code_raw": "60.01",
"counterparty_name": "ООО \"ЭСТЕТ ОМСК\"",
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": null,
"turnover_debit": "4236500.00",
@ -132,7 +137,7 @@
"account_code_raw": null,
"counterparty_name": null,
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": "34618000.00",
"opening_credit": null,
"turnover_debit": "4236500.00",
@ -151,7 +156,7 @@
"account_code_raw": null,
"counterparty_name": null,
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": "34618000.00",
"opening_credit": null,
"turnover_debit": "4236500.00",

View File

@ -28,6 +28,11 @@
"code": "OSV_HEADER",
"severity": "info",
"message": "валюта в шапке не найдена"
},
{
"code": "OSV_HEADER",
"severity": "info",
"message": "вид данных в шапке не указан — строки без метки приняты как БУ"
}
],
"header": {
@ -70,7 +75,7 @@
"account_code_raw": "10.01",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": "34618000.00",
"opening_credit": null,
"turnover_debit": "4236500.00",
@ -89,7 +94,7 @@
"account_code_raw": "10.01",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": "34618000.00",
"opening_credit": null,
"turnover_debit": null,
@ -108,7 +113,7 @@
"account_code_raw": "10.01",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": null,
"turnover_debit": "4236500.00",
@ -127,7 +132,7 @@
"account_code_raw": null,
"counterparty_name": null,
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": "34618000.00",
"opening_credit": null,
"turnover_debit": "4236500.00",
@ -146,7 +151,7 @@
"account_code_raw": null,
"counterparty_name": null,
"counterparty_inn": null,
"data_type": null,
"data_type": "BU",
"opening_debit": "34618000.00",
"opening_credit": null,
"turnover_debit": "4236500.00",