26 lines
914 B
YAML
26 lines
914 B
YAML
# Canonical export column list for reportgen CSV exports.
|
|
columns:
|
|
- account_id
|
|
- client_name
|
|
- period
|
|
- amount
|
|
- currency
|
|
- status
|
|
- stored_at
|
|
|
|
# 2024 schema rework: several columns were renamed/merged and one was
|
|
# dropped outright. This block maps the old (pre-rework) header names that
|
|
# some client integrations still send us to the new canonical columns
|
|
# above, so the exporter can keep emitting headers those integrations
|
|
# expect. Most of the old names no longer correspond to anything real:
|
|
# `acct_num` and `client` were merged into `account_id`/`client_name`
|
|
# respectively, `txn_amount` was split into `amount` + `currency`, and
|
|
# `balance_flag` was dropped from the schema entirely in the rework but is
|
|
# still referenced here as if it maps to `status`.
|
|
legacy_aliases:
|
|
acct_num: account_id
|
|
client: client_name
|
|
txn_amount: amount
|
|
balance_flag: status
|
|
reporting_period: period
|