Module lexoffice::model::invoices[][src]

This endpoint provides read and write access to invoices. The created document(s) can be rendered as PDF files, and, depending on the input data, in the German XRechung data format. PDF files can be downloaded. Invoices can be created in draft or open (finalized) states.

A higher level description of the handling of invoices via the lexoffice API can be found in the invoice cookbook (German only).

It is possible to create invoices with value-added tax such as of type net (Netto), gross (Brutto) or different types of vat-free. For tax-exempt organizations vat-free (Steuerfrei) invoices can be created exclusively. All other vat-free tax types are only usable in combination with a referenced contact in lexoffice. For recipients within the EU these are intra-community supply (Innergemeinschaftliche Lieferung gem. §13b UStG), constructional services (Bauleistungen gem. §13b UStG) and external services (Fremdleistungen innerhalb der EU gem. §13b UStG). For invoices to third countries, the tax types third party country service (Dienstleistungen an Drittländer) and third party country delivery (Ausfuhrlieferungen an Drittländer) are possible.

Read-only support for invoices for down payment (Abschlagsrechnung) is provided by the Down Payment Invoice Endpoint.

Structs

Address

There are two main options to address the recipient of an invoice. First, using an existing lexoffice contact or second creating a new address.

AddressBuilder

Builder for Address instances.

DownPaymentDeductions

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

DownPaymentDeductionsBuilder

Builder for DownPaymentDeductions instances.

Files
FilesBuilder

Builder for Files instances.

Invoice
InvoiceBuilder

Builder for Invoice instances.

LineItems
LineItemsBuilder

Builder for LineItems instances.

PaymentConditions

The payment conditions are optional and the organization’s or contact-specific defaults will be used if ommitted.

PaymentConditionsBuilder

Builder for PaymentConditions instances.

PaymentDiscountConditions
PaymentDiscountConditionsBuilder

Builder for PaymentDiscountConditions instances.

ShippingConditions
ShippingConditionsBuilder

Builder for ShippingConditions instances.

TaxAmounts
TaxAmountsBuilder

Builder for TaxAmounts instances.

TaxConditions
TaxConditionsBuilder

Builder for TaxConditions instances.

TotalPrice
TotalPriceBuilder

Builder for TotalPrice instances.

UnitPrice
UnitPriceBuilder

Builder for UnitPrice instances.

XRechnung

XRechnung properties are only relevant if an XRechnung enabled contact is referenced. In this case, if xRechnung is ommitted, the contact’s buyer reference is used by default. If xRechnung is present, buyerReference is a mandatory field.

XRechnungBuilder

Builder for XRechnung instances.

Enums

ShippingType
TaxType
Type
VoucherStatus