pub struct TurnoverReportCreate {
pub account_types: Option<Option<Vec<i64>>>,
pub accounting_period_id: i64,
pub format: Option<String>,
pub period: String,
pub show_account_groups: Option<bool>,
pub show_empty_accounts: Option<bool>,
pub extra: Map<String, Value>,
}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. If no supplied ID matches, the turnover calculator falls back to all types.
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.
period: StringUse twelve calendar-month columns or four calendar-quarter columns for the year of the accounting period’s start date.
Allowed values: monthly, quarterly.
show_account_groups: Option<bool>Accepted by the shared validator but ignored by the turnover 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.