Module lexoffice::model::credit_notes[][src]

This endpoint provides read and write access to credit notes and also the possibility to render the document as a PDF in order to download it. Credit notes can be created as a draft or finalized in open mode.

With a credit note the partial or full amount of an invoice can be refunded to a customer.

At the moment, credit notes can only be created without any reference to an invoice. To refer a credit note to an invoice on the printed document, the invoice number can be included in the header text (introduction).

It is possible to create credit notes 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) credit notes 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 credit notes 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.

Structs

Address

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

AddressBuilder

Builder for Address instances.

CreditNote
CreditNoteBuilder

Builder for CreditNote instances.

Files
FilesBuilder

Builder for Files instances.

LineItems
LineItemsBuilder

Builder for LineItems 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.

Enums

TaxType
Type
VoucherStatus