pub struct SumBalanceReportCreate {
pub account_types: Option<Option<Vec<i64>>>,
pub accounting_period_id: i64,
pub format: Option<String>,
pub month: i64,
pub show_account_groups: Option<bool>,
pub show_empty_accounts: Option<bool>,
pub extra: Map<String, Value>,
}Fields§
§account_types: Option<Option<Vec<i64>>>Accepted by the shared validator but ignored by the sum-balance report.
None leaves the field out, Some(None) sends null.
accounting_period_id: i64Accounting period owning the accounts. Requires finance edit masterdata or explicit view/edit permission for this period.
format: Option<String>PDF creates a file and returns its URL with HTTP 201. CSV/XLSX return the file directly with HTTP 200. Accept: text/html overrides this selection.
Allowed values: csv, pdf, xlsx.
month: i64Calendar month in the year of the accounting period’s start date. The report includes month totals and cumulative totals from January.
show_account_groups: Option<bool>Include account-group grouping/columns in the report.
show_empty_accounts: Option<bool>Include zero-value accounts according to the selected report’s balance/activity calculation.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.