Struct lexoffice::model::contacts::XRechnung[][src]

pub struct XRechnung {
    pub buyer_reference: Option<String>,
    pub vendor_number_at_customer: Option<String>,
}

Contacts for German public authorities should be created with both of the following attributes set. This results in the generation of invoice documents conforming to the German XRechnung standard when creating invoices in lexoffice.

If a customer’s buyerReference is set, its vendorNumberAtCustomer needs to be set as well.

Fields

buyer_reference: Option<String>

Customer’s Leitweg-ID conforming to the German XRechnung system

vendor_number_at_customer: Option<String>

Your vendor number as used by the customer

Implementations

impl XRechnung[src]

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

Create a builder for building XRechnung. On the builder, call .buyer_reference(...)(optional), .vendor_number_at_customer(...)(optional) to set the values of the fields. Finally, call .build() to create the instance of XRechnung.

Trait Implementations

impl Clone for XRechnung[src]

impl Debug for XRechnung[src]

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

impl PartialEq<XRechnung> for XRechnung[src]

impl Serialize for XRechnung[src]

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