pub struct Bill {
pub accounting_period_id: i64,
pub file: BillFile,
pub id: i64,
pub meta: MetaDataEntityId,
pub split_transaction_id: Option<i64>,
pub submitted_date: NaiveDate,
pub submitted_pid: i64,
pub transaction_id: Option<i64>,
pub transaction_suggestion_id: Option<i64>,
pub extra: Map<String, Value>,
}Expand description
Supporting document (Beleg) attached to a finance booking or booking suggestion. This represents the uploaded evidence, not an invoice or payment request.
Fields§
§accounting_period_id: i64Accounting period shared by the linked booking or suggestion.
file: BillFileFile attached to a bill. This embedded representation has no file ID; use its fileUrl to download the document.
id: i64§meta: MetaDataEntityId§split_transaction_id: Option<i64>Linked split transaction, covering its component transactions. Null when no such link is stored.
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<i64>Linked ordinary transaction. Null when no such link is stored.
transaction_suggestion_id: Option<i64>Linked booking suggestion from an account statement. Null when no such link is stored.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.