pub struct MovementSuggestion {
pub bills: Option<Vec<Bill>>,
pub confidence: i64,
pub id: i64,
pub name: String,
pub reason: String,
pub split_key: Option<i64>,
pub user_overwrite: bool,
pub value: String,
pub extra: Map<String, Value>,
}Expand description
Proposed booking field. Values are serialized as strings even for IDs, amounts, dates and booleans.
Fields§
§bills: Option<Vec<Bill>>Included only with include[]=bills. Suggestions other than the bills marker receive an empty array.
confidence: i64Generator confidence used to choose between suggestions. Manual changes and user rules use 100.
id: i64§name: StringBooking field name, such as accountId, contraAccountId, amount, documentDate, documentNumber, costCenterId or bills.
reason: StringGenerator origin, such as import, user, transaction_details or user_rule-. User-rule IDs are appended to the reason; it is not a closed enum.
split_key: Option<i64>Groups fields belonging to one split child. Null identifies global fields.
user_overwrite: boolWhether the value was manually created or changed.
value: StringString representation of the suggested value. The bills field acts as a marker for attached documents.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.