pub struct Client {Show 16 fields
pub city: Option<String>,
pub datev_client_number: Option<String>,
pub datev_consultant_number: Option<String>,
pub email: Option<String>,
pub eubp_business_name: Option<String>,
pub eubp_business_number: Option<String>,
pub id: i64,
pub meta: MetaDataEntityId,
pub name: String,
pub phone: Option<String>,
pub postal_code: Option<String>,
pub sort_key: i64,
pub street: Option<String>,
pub treasurer: Option<DomainObjectPerson>,
pub treasurer_id: Option<i64>,
pub extra: Map<String, Value>,
}Expand description
A finance client is the organizational entity whose books are kept separately, for example a congregation or a charitable organization. Each client owns accounting periods, and those periods own its accounts and cost centers. It is unrelated to an OAuth application client.
Fields§
§city: Option<String>Optional contact information. Omitted or null clears it, including on update. These values are not trimmed by the controller.
datev_client_number: Option<String>Stored DATEV identifier as a string or null.
datev_consultant_number: Option<String>Stored DATEV identifier as a string or null.
email: Option<String>Optional valid email address. Use null or omit to clear it; an empty string is not accepted.
eubp_business_name: Option<String>Employer name used for electronically supported employer audits (euBP). Omitted or null clears it.
eubp_business_number: Option<String>German employer business number for euBP: eight digits with a valid checksum. The first three digits must not be 000 or 100–110. Omitted or null clears it; empty string is rejected.
id: i64§meta: MetaDataEntityId§name: StringTrimmed client name, unique across finance clients.
phone: Option<String>Optional contact information. Omitted or null clears it, including on update. These values are not trimmed by the controller.
postal_code: Option<String>Optional contact information. Omitted or null clears it, including on update. These values are not trimmed by the controller.
sort_key: i64Ascending display order. Required for creation and update.
street: Option<String>Optional contact information. Omitted or null clears it, including on update. These values are not trimmed by the controller.
treasurer: Option<DomainObjectPerson>Treasurer person as a domain object, or null when none is assigned.
treasurer_id: Option<i64>Optional person ID of the treasurer. Omitted or null clears the assignment.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.