Struct lexoffice::model::credit_notes::TaxConditions[][src]

pub struct TaxConditions {
    pub tax_type: Option<TaxType>,
    pub tax_type_note: Option<String>,
}
"taxConditions": {
    "taxType": "constructionService13b",
    "taxTypeNote": "Steuerschuldnerschaft des Leistungsempfängers (Reverse Charge)"
}

Fields

tax_type: Option<TaxType>

The tax type for the credit note. Possible values are net, gross, vatfree (Steuerfrei), intraCommunitySupply (Innergemeinschaftliche Lieferung gem. §13b UStG), constructionService13b (Bauleistungen gem. §13b UStG), externalService13b (Fremdleistungen innerhalb der EU gem. §13b UStG), thirdPartyCountryService (Dienstleistungen an Drittländer), and thirdPartyCountryDelivery (Ausfuhrlieferungen an Drittländer)

tax_type_note: Option<String>

When taxType is set to a vat-free tax type then a note regarding the conditions can be set. When omitted lexoffice sets the organization’s default.

Implementations

impl TaxConditions[src]

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

Create a builder for building TaxConditions. On the builder, call .tax_type(...)(optional), .tax_type_note(...)(optional) to set the values of the fields. Finally, call .build() to create the instance of TaxConditions.

Trait Implementations

impl Clone for TaxConditions[src]

impl Debug for TaxConditions[src]

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

impl PartialEq<TaxConditions> for TaxConditions[src]

impl Serialize for TaxConditions[src]

impl StructuralPartialEq for TaxConditions[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.