BexioApiClient.Accounting.Tax (bexio_api_client v0.6.4)

Bexio Tax Module.

Link to this section Summary

Types

t()

Bexio Tax

Link to this section Types

@type t() :: %BexioApiClient.Accounting.Tax{
  account_id: integer(),
  active?: boolean(),
  code: String.t(),
  digit: String.t(),
  display_name: String.t(),
  end_year: pos_integer() | nil,
  id: integer(),
  name: String.t(),
  net_tax_value: float() | nil,
  start_year: pos_integer() | nil,
  tax_settlement_type: String.t() | nil,
  type:
    :net_tax
    | :non_consideration_sales_tax
    | :pre_customs_tax_investment
    | :pre_customs_tax_material
    | :pre_regards_tax_investment
    | :pre_regards_tax_material
    | :pre_tax_investment
    | :pre_tax_material
    | :sales_tax,
  uuid: String.t(),
  value: float()
}

Bexio Tax

fields

Fields:

  • :id - automatic id given by bexio
  • :uuid - the uuid of the tax
  • :name - the internal name (use :display_name as the representation value)
  • :code - the tax code, also used within :display_name
  • :digit - digit which references the tax to the vat digit
  • :type - the tax type
  • :account_id - the id of the associated account, references an account object
  • :value the tax percentage
  • :net_tax_value - the net tax percentage (this field is only used, it the tax has the type net_tax)
  • start_year - the start year from which on the tax is valid. if set to nil every year before end_year
  • :end_year - the end year until the tax is valid. if set to nil every year after start_year
  • :active? - whether the tax is active
  • :display_name - a human readable of the tax, including the code