BexioApiClient.SalesOrderManagement.Delivery (bexio_api_client v0.6.4)
Delivery
Link to this section Summary
Functions
Create a new order
Link to this section Types
@type t() :: %BexioApiClient.SalesOrderManagement.Delivery{ api_reference: String.t() | nil, bank_account_id: integer(), contact_address: String.t(), contact_id: integer() | nil, contact_sub_id: integer() | nil, currency_id: integer(), delivery_address: String.t(), delivery_address_type: integer(), document_nr: String.t(), footer: String.t(), header: String.t(), id: integer(), is_valid_from: Date.t(), kb_item_status: :draft | :done | :cancelled, language_id: integer(), mwst_is_net?: boolean(), mwst_type: :including | :excluding | :exempt, positions: term(), taxs: [%{percentage: Decimal.t(), value: Decimal.t()}], title: String.t() | nil, total: Decimal.t(), total_gross: Decimal.t(), total_net: Decimal.t(), total_rounding_difference: float(), total_taxes: Decimal.t(), updated_at: NaiveDateTime.t(), user_id: integer() }
Delivery
fields
Fields:
:contact_id
- references a contact object:contact_sub_id
- references a contact object:user_id
- references a user object:language_id
- references a language object:bank_account_id
- references a bank account object:currency_id
- references a currency object:payment_type_id
- references a payment type object:mwst_is_net?
- this value affects the total if the field mwst_type has been set to:include
.false
- taxes are included in the total,true
- taxes will be added to total:kb_item_status
is converted fromkb_item_status_id
rest field:api_reference
- this field can only be read and edited by the api. it can be used to save references to other systems:template_slug
- references a document template slug:taxs
- map of percentage as key and absolute values as value:network_link
- the network link of the order
Link to this section Functions
Link to this function
new(attrs \\ %{})
Create a new order