Struct lexoffice::model::invoices::DownPaymentDeductions[][src]

pub struct DownPaymentDeductions {
    pub id: ReadOnly<Uuid>,
    pub voucher_type: Option<String>,
    pub title: Option<String>,
    pub voucher_number: Option<String>,
    pub voucher_date: Option<DateTime>,
    pub received_gross_amount: Option<f64>,
    pub received_net_amount: Option<f64>,
    pub received_tax_amount: Option<f64>,
    pub tax_rate_percentage: Option<f64>,
}

Use the Down Payment Invoices endpoint to retrieve details of a down payment invoice.

Fields

id: ReadOnly<Uuid>

The down payment deduction’s unique id.

voucher_type: Option<String>

Voucher type of the down payment. Currently, always contains the string downpaymentinvoice.

title: Option<String>

Down payment’s title

voucher_number: Option<String>

Down payment’s voucher number

voucher_date: Option<DateTime>

Down payment’s date in format yyyy-MM-ddTHH:mm:ss.SSSXXX as described in RFC 3339/ISO 8601 (e.g. 2020-02-21T00:00:00.000+01:00).

received_gross_amount: Option<f64>

The gross amount received for this down payment invoice

received_net_amount: Option<f64>

The net amount received for this down payment invoice

received_tax_amount: Option<f64>

Tax received for this down payment invoice

tax_rate_percentage: Option<f64>

The tax rate used for amount calculation in this down payment invoice

Implementations

impl DownPaymentDeductions[src]

pub fn builder(
) -> DownPaymentDeductionsBuilder<((), (), (), (), (), (), (), ())>
[src]

Create a builder for building DownPaymentDeductions. On the builder, call .voucher_type(...)(optional), .title(...)(optional), .voucher_number(...)(optional), .voucher_date(...)(optional), .received_gross_amount(...)(optional), .received_net_amount(...)(optional), .received_tax_amount(...)(optional), .tax_rate_percentage(...)(optional) to set the values of the fields. Finally, call .build() to create the instance of DownPaymentDeductions.

Trait Implementations

impl Clone for DownPaymentDeductions[src]

impl Debug for DownPaymentDeductions[src]

impl<'de> Deserialize<'de> for DownPaymentDeductions[src]

impl HasId for DownPaymentDeductions[src]

impl PartialEq<DownPaymentDeductions> for DownPaymentDeductions[src]

impl Serialize for DownPaymentDeductions[src]

impl StructuralPartialEq for DownPaymentDeductions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,