arm-ka-docs/contracts/examples/ex-payload-corrections.json
Andrey Epifancev 013f7b673a ЕХ: схема ex-payload-v1, примеры, проверка в validate_contracts (#208)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 23:05:15 +04:00

86 lines
2.4 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.0",
"item_type": "corrections",
"units": "rub",
"generated_at": "2025-11-20T10:05:00Z",
"source_version_no": 1,
"data": {
"items": [
{
"statement_type": "balance",
"rule_no": 6,
"company_1": {
"id": "22222222-2222-4222-8222-222222222222",
"name": "ООО «Бета»"
},
"company_2": {
"id": "11111111-1111-4111-8111-111111111111",
"name": "ООО «Альфа»"
},
"correction": {
"status": "APPLIED",
"version_no": 1,
"debit": [
{
"line_code": "1230",
"amount": "10000000.00"
}
],
"credit": [
{
"line_code": "1520",
"amount": "10000000.00"
}
],
"comment": "Сверка Бета → Альфа: разница — аванс, исключаем подтверждённое",
"reason_code": null,
"updated_by": {
"user_id": "44444444-4444-4444-8444-444444444444",
"full_name": "Петрова Мария Ивановна"
},
"updated_at": "2025-11-12T14:30:00Z"
}
},
{
"statement_type": "balance",
"rule_no": 6,
"company_1": {
"id": "11111111-1111-4111-8111-111111111111",
"name": "ООО «Альфа»"
},
"company_2": {
"id": "33333333-3333-4333-8333-333333333333",
"name": "ООО «Гамма»"
},
"correction": {
"status": "APPLIED",
"version_no": 2,
"debit": [
{
"line_code": "1230",
"amount": "20000000.00"
},
{
"line_code": "1170",
"amount": "5000000.00"
}
],
"credit": [
{
"line_code": "1520",
"amount": "22500000.00"
}
],
"comment": "Часть долга Гаммы переведена в займ — разнесено по статьям",
"reason_code": null,
"updated_by": {
"user_id": "44444444-4444-4444-8444-444444444444",
"full_name": "Петрова Мария Ивановна"
},
"updated_at": "2025-11-13T09:10:00Z"
}
}
]
}
}