163 "LEDGER2_ACCOUNT_MAP: duplicate account id detected");
174 return meta ? meta->name : std::string_view{};
std::string_view ledger2_get_account_name_by_id(uint64_t account_id)
Definition: accounts.hpp:172
static constexpr size_t LEDGER2_ACCOUNT_MAP_SIZE
Definition: accounts.hpp:148
constexpr const Ledger2AccountMeta * ledger2_find_account_meta(uint64_t account_id)
Definition: accounts.hpp:165
constexpr std::array< Ledger2AccountMeta, 11 > LEDGER2_ACCOUNT_MAP
Хардкод-справочник плана счетов (MVP, 11 записей).
Definition: accounts.hpp:134
constexpr AccountType ledger2_get_account_type_by_id(uint64_t account_id)
Definition: accounts.hpp:177
AccountType
Тип бухгалтерского счёта.
Definition: accounts.hpp:20
Definition: accounts.hpp:151
constexpr bool account_ids_unique()
Definition: accounts.hpp:152
План счетов ledger2 (MVP) со смещением *1000.
Definition: accounts.hpp:89
static constexpr uint64_t TARGET_RECEIPTS
86 — Целевое финансирование (П)
Definition: accounts.hpp:109
static constexpr uint64_t FINANCIAL_INVESTMENTS
58 — Финансовые вложения (А)
Definition: accounts.hpp:96
static constexpr uint64_t INTANGIBLE_ASSETS
04 — Нематериальные активы (А)
Definition: accounts.hpp:91
static constexpr uint64_t INVEST_EXPENSE_ACCOUNT
Definition: accounts.hpp:107
static constexpr uint64_t TAX_SETTLEMENTS
Definition: accounts.hpp:102
static constexpr uint64_t GENERAL_EXPENSES
26 — Общехозяйственные расходы (А): расходы и материальная помощь кооперативного участка из денежных ...
Definition: accounts.hpp:94
static constexpr uint64_t OTHER_INCOME_EXPENSES
91 — Прочие доходы и расходы (А/П; только уценка остатка при выдаче)
Definition: accounts.hpp:112
static constexpr uint64_t NON_CURRENT_INVESTMENTS
08 — Вложения во внеоборотные активы (А)
Definition: accounts.hpp:92
static constexpr uint64_t BANK_ACCOUNT
51 — Расчётный счёт (А)
Definition: accounts.hpp:95
static constexpr uint64_t MATERIALS
10 — Материалы (А; склад имущества на КУ, per-КУ субсчета)
Definition: accounts.hpp:93
static constexpr uint64_t OTHER_SETTLEMENTS
76 — Расчёты с разными дебиторами и кредиторами (А-П): суспенс регистрационного взноса до решения сов...
Definition: accounts.hpp:99
static constexpr uint64_t SHARE_FUND
80 — Паевой фонд (П)
Definition: accounts.hpp:108