pub struct CostCenterStatementReportCreate {
pub end_date: Option<Option<NaiveDate>>,
pub format: Option<String>,
pub start_date: Option<Option<NaiveDate>>,
pub include_rebookings: Option<bool>,
pub type: Option<String>,
pub extra: Map<String, Value>,
}Expand description
Optional account-report options. A missing body selects the entire accounting period as a PDF.
Fields§
§end_date: Option<Option<NaiveDate>>Last document date to include. Omission or null defaults to the corresponding accounting-period boundary. The final endDate must be on or after startDate.
None leaves the field out, Some(None) sends null.
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.
start_date: Option<Option<NaiveDate>>First document date to include. Omission or null defaults to the corresponding accounting-period boundary. The final endDate must be on or after startDate.
None leaves the field out, Some(None) sends null.
include_rebookings: Option<bool>Include transactions classified as internal rebookings in the cost-center report.
type: Option<String>deprecated in the ChurchTools API
Legacy alias for format.
Allowed values: csv, pdf, xlsx.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.