From 4b3752e55cfd70c3c88ddf12b45236871d1b0e16 Mon Sep 17 00:00:00 2001 From: Andrey Epifancev Date: Mon, 19 Oct 2026 13:25:07 +0400 Subject: [PATCH] =?UTF-8?q?test(golden):=20s40=E2=80=93s44=20=E2=80=94=20?= =?UTF-8?q?=D0=B2=D0=B8=D0=B4=20=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B=D1=85=20BU?= =?UTF-8?q?=20=D0=BF=D0=BE=20=D1=83=D0=BC=D0=BE=D0=BB=D1=87=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D1=8E=20=D0=B8=20=D0=BF=D1=80=D0=B5=D0=B4=D1=83=D0=BF?= =?UTF-8?q?=D1=80=D0=B5=D0=B6=D0=B4=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D0=BE?= =?UTF-8?q?=D1=81=D0=BB=D0=B5=20=D1=81=D0=BB=D0=B8=D1=8F=D0=BD=D0=B8=D1=8F?= =?UTF-8?q?=20=D1=82=D1=80=D0=B5=D0=BA=D0=B0=20A=20(#59)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- .../synthetic/s40_flat_header_account.json | 15 ++++++++++----- .../synthetic/s41_flat_chart_of_accounts.json | 13 +++++++++---- .../s42_subaccounts_totals_reversed.json | 17 +++++++++++------ .../synthetic/s43_subkonto_unnamed_60.json | 15 ++++++++++----- .../synthetic/s44_subkonto_unnamed_10.json | 15 ++++++++++----- 5 files changed, 50 insertions(+), 25 deletions(-) diff --git a/golden/expected_osv_parse/synthetic/s40_flat_header_account.json b/golden/expected_osv_parse/synthetic/s40_flat_header_account.json index bd2b6f3..1c6ec33 100644 --- a/golden/expected_osv_parse/synthetic/s40_flat_header_account.json +++ b/golden/expected_osv_parse/synthetic/s40_flat_header_account.json @@ -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", diff --git a/golden/expected_osv_parse/synthetic/s41_flat_chart_of_accounts.json b/golden/expected_osv_parse/synthetic/s41_flat_chart_of_accounts.json index feee383..7791aff 100644 --- a/golden/expected_osv_parse/synthetic/s41_flat_chart_of_accounts.json +++ b/golden/expected_osv_parse/synthetic/s41_flat_chart_of_accounts.json @@ -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", diff --git a/golden/expected_osv_parse/synthetic/s42_subaccounts_totals_reversed.json b/golden/expected_osv_parse/synthetic/s42_subaccounts_totals_reversed.json index 5923127..40043bd 100644 --- a/golden/expected_osv_parse/synthetic/s42_subaccounts_totals_reversed.json +++ b/golden/expected_osv_parse/synthetic/s42_subaccounts_totals_reversed.json @@ -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", diff --git a/golden/expected_osv_parse/synthetic/s43_subkonto_unnamed_60.json b/golden/expected_osv_parse/synthetic/s43_subkonto_unnamed_60.json index a5f6f51..a88bc8f 100644 --- a/golden/expected_osv_parse/synthetic/s43_subkonto_unnamed_60.json +++ b/golden/expected_osv_parse/synthetic/s43_subkonto_unnamed_60.json @@ -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", diff --git a/golden/expected_osv_parse/synthetic/s44_subkonto_unnamed_10.json b/golden/expected_osv_parse/synthetic/s44_subkonto_unnamed_10.json index ef89306..4f0de92 100644 --- a/golden/expected_osv_parse/synthetic/s44_subkonto_unnamed_10.json +++ b/golden/expected_osv_parse/synthetic/s44_subkonto_unnamed_10.json @@ -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",