Skip to main content

TransactionSplitUpdate

Struct TransactionSplitUpdate 

Source
pub struct TransactionSplitUpdate {
Show 48 fields pub transaction_journal_id: Option<String>, pub type: Option<TransactionTypeProperty>, pub date: Option<String>, pub amount: Option<String>, pub description: Option<String>, pub order: Option<i32>, pub currency_id: Option<String>, pub currency_code: Option<String>, pub currency_symbol: Option<String>, pub currency_name: Option<String>, pub currency_decimal_places: Option<i32>, pub foreign_amount: Option<String>, pub foreign_currency_id: Option<String>, pub foreign_currency_code: Option<String>, pub foreign_currency_symbol: Option<String>, pub foreign_currency_decimal_places: Option<i32>, pub budget_id: Option<String>, pub budget_name: Option<String>, pub category_id: Option<String>, pub category_name: Option<String>, pub source_id: Option<String>, pub source_name: Option<String>, pub source_iban: Option<String>, pub destination_id: Option<String>, pub destination_name: Option<String>, pub destination_iban: Option<String>, pub reconciled: Option<bool>, pub bill_id: Option<String>, pub bill_name: Option<String>, pub tags: Option<Vec<String>>, pub notes: Option<String>, pub internal_reference: Option<String>, pub external_id: Option<String>, pub external_url: Option<String>, pub sepa_cc: Option<String>, pub sepa_ct_op: Option<String>, pub sepa_ct_id: Option<String>, pub sepa_db: Option<String>, pub sepa_country: Option<String>, pub sepa_ep: Option<String>, pub sepa_ci: Option<String>, pub sepa_batch_id: Option<String>, pub interest_date: Option<String>, pub book_date: Option<String>, pub process_date: Option<String>, pub due_date: Option<String>, pub payment_date: Option<String>, pub invoice_date: Option<String>,
}

Fields§

§transaction_journal_id: Option<String>

Transaction journal ID of current transaction (split).

§type: Option<TransactionTypeProperty>§date: Option<String>

Date of the transaction

§amount: Option<String>

Amount of the transaction.

§description: Option<String>

Description of the transaction.

§order: Option<i32>

Order of this entry in the list of transactions.

§currency_id: Option<String>

Currency ID. Default is the source account’s currency, or the user’s financial administration’s primary currency. Can be used instead of currency_code.

§currency_code: Option<String>

Currency code. Default is the source account’s currency, or the user’s financial administration’s primary currency. Can be used instead of currency_id.

§currency_symbol: Option<String>§currency_name: Option<String>§currency_decimal_places: Option<i32>

Number of decimals used in this currency.

§foreign_amount: Option<String>

The amount in a foreign currency.

§foreign_currency_id: Option<String>

Currency ID of the foreign currency. Default is null. Is required when you submit a foreign amount.

§foreign_currency_code: Option<String>

Currency code of the foreign currency. Default is NULL. Can be used instead of the foreign_currency_id, but this or the ID is required when submitting a foreign amount.

§foreign_currency_symbol: Option<String>§foreign_currency_decimal_places: Option<i32>

Number of decimals in the currency

§budget_id: Option<String>

The budget ID for this transaction.

§budget_name: Option<String>

The name of the budget to be used. If the budget name is unknown, the ID will be used or the value will be ignored.

§category_id: Option<String>

The category ID for this transaction.

§category_name: Option<String>

The name of the category to be used. If the category is unknown, it will be created. If the ID and the name point to different categories, the ID overrules the name.

§source_id: Option<String>

ID of the source account. For a withdrawal or a transfer, this must always be an asset account. For deposits, this must be a revenue account.

§source_name: Option<String>

Name of the source account. For a withdrawal or a transfer, this must always be an asset account. For deposits, this must be a revenue account. Can be used instead of the source_id. If the transaction is a deposit, the source_name can be filled in freely: the account will be created based on the name.

§source_iban: Option<String>§destination_id: Option<String>

ID of the destination account. For a deposit or a transfer, this must always be an asset account. For withdrawals this must be an expense account.

§destination_name: Option<String>

Name of the destination account. You can submit the name instead of the ID. For everything except transfers, the account will be auto-generated if unknown, so submitting a name is enough.

§destination_iban: Option<String>§reconciled: Option<bool>

If the transaction has been reconciled already. When you set this, the amount can no longer be edited by the user.

§bill_id: Option<String>

Optional. Use either this or the bill_name

§bill_name: Option<String>

Optional. Use either this or the bill_id

§tags: Option<Vec<String>>

Array of tags.

§notes: Option<String>§internal_reference: Option<String>

Reference to internal reference of other systems.

§external_id: Option<String>

Reference to external ID in other systems.

§external_url: Option<String>

External, custom URL for this transaction.

§sepa_cc: Option<String>

SEPA Clearing Code

§sepa_ct_op: Option<String>

SEPA Opposing Account Identifier

§sepa_ct_id: Option<String>

SEPA end-to-end Identifier

§sepa_db: Option<String>

SEPA mandate identifier

§sepa_country: Option<String>

SEPA Country

§sepa_ep: Option<String>

SEPA External Purpose indicator

§sepa_ci: Option<String>

SEPA Creditor Identifier

§sepa_batch_id: Option<String>

SEPA Batch ID

§interest_date: Option<String>§book_date: Option<String>§process_date: Option<String>§due_date: Option<String>§payment_date: Option<String>§invoice_date: Option<String>

Implementations§

Trait Implementations§

Source§

impl Clone for TransactionSplitUpdate

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TransactionSplitUpdate

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for TransactionSplitUpdate

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for TransactionSplitUpdate

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for TransactionSplitUpdate

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for TransactionSplitUpdate

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for TransactionSplitUpdate

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for TransactionSplitUpdate

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more