pub struct BalanceReportCreate {
pub account_types: Option<Option<Vec<i64>>>,
pub accounting_period_id: i64,
pub format: Option<String>,
pub show_account_groups: Option<bool>,
pub show_empty_accounts: Option<bool>,
pub end_date: NaiveDate,
pub start_date: NaiveDate,
pub extra: Map<String, Value>,
}Expand description
Balance-sheet selection. The API parses both dates but does not reject reversed or out-of-period ranges.
Fields§
§account_types: Option<Option<Vec<i64>>>Account-type IDs. Omission, null or [] selects all types. Existing IDs must be JSON integers; numeric strings do not match. Unknown IDs are ignored.
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.
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.
end_date: NaiveDateLast document date to include.
start_date: NaiveDateFirst document date to include.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.