pub struct ClientUpdate {Show 13 fields
pub city: Option<Option<String>>,
pub datev_client_number: Value,
pub datev_consultant_number: Value,
pub email: Option<Option<String>>,
pub eubp_business_name: Option<Option<String>>,
pub eubp_business_number: Option<Option<String>>,
pub name: String,
pub phone: Option<Option<String>>,
pub postal_code: Option<Option<String>>,
pub sort_key: i64,
pub street: Option<Option<String>>,
pub treasurer_id: Option<Option<i64>>,
pub extra: Map<String, Value>,
}Expand description
Replacement finance-client data. name and sortKey are required; omitted optional fields are cleared, including contact, DATEV and euBP fields.
Fields§
§city: Option<Option<String>>Optional contact information. Omitted or null clears it, including on update. These values are not trimmed by the controller.
None leaves the field out, Some(None) sends null.
datev_client_number: ValueOptional numeric DATEV client identifier. Numeric strings or numbers are accepted and stored as strings. Empty string is also accepted; omission or null clears it.
datev_consultant_number: ValueOptional numeric DATEV consultant identifier. Numeric strings or numbers are accepted and stored as strings. Empty string is also accepted; omission or null clears it.
email: Option<Option<String>>Optional valid email address. Use null or omit to clear it; an empty string is not accepted.
None leaves the field out, Some(None) sends null.
eubp_business_name: Option<Option<String>>Employer name used for electronically supported employer audits (euBP). Omitted or null clears it.
None leaves the field out, Some(None) sends null.
eubp_business_number: Option<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.
None leaves the field out, Some(None) sends null.
name: StringTrimmed client name, unique across finance clients.
phone: Option<Option<String>>Optional contact information. Omitted or null clears it, including on update. These values are not trimmed by the controller.
None leaves the field out, Some(None) sends null.
postal_code: Option<Option<String>>Optional contact information. Omitted or null clears it, including on update. These values are not trimmed by the controller.
None leaves the field out, Some(None) sends null.
sort_key: i64Ascending display order. Required for creation and update.
street: Option<Option<String>>Optional contact information. Omitted or null clears it, including on update. These values are not trimmed by the controller.
None leaves the field out, Some(None) sends null.
treasurer_id: Option<Option<i64>>Optional person ID of the treasurer. Omitted or null clears the assignment.
None leaves the field out, Some(None) sends null.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.