pub struct BillUpdate {
pub filename: Option<Option<String>>,
pub split_transaction_id: Option<Option<i64>>,
pub submitted_date: NaiveDate,
pub submitted_pid: i64,
pub transaction_id: Option<Option<i64>>,
pub transaction_suggestion_id: Option<Option<i64>>,
pub extra: Map<String, Value>,
}Expand description
Updates submission details and optionally changes the booking link. Omitted or null link IDs retain the current link. Supply at most one new link: when multiple IDs are supplied, the service gives splitTransactionId precedence over transactionId over transactionSuggestionId. Setting only a suggestion currently does not clear existing transaction links. The accounting period and attached file cannot be replaced here.
Fields§
§filename: Option<Option<String>>Optional new display name for the attached file. Omission or null retains its name.
None leaves the field out, Some(None) sends null.
split_transaction_id: Option<Option<i64>>Linked split transaction, covering its component transactions.
None leaves the field out, Some(None) sends null.
submitted_date: NaiveDateDate the supporting document was submitted, independently of the booking date.
submitted_pid: i64Person who submitted the document. Must exist and be visible to the caller.
transaction_id: Option<Option<i64>>Linked ordinary transaction.
None leaves the field out, Some(None) sends null.
transaction_suggestion_id: Option<Option<i64>>Linked booking suggestion from an account statement.
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.