BexioApiClient.Accounting.Currency (bexio_api_client v0.7.0)

Bexio Currency Module.

Link to this section Summary

Types

t()

Bexio Currency

Functions

Rounds an amount to the given currency round factor

Link to this section Types

@type t() :: %BexioApiClient.Accounting.Currency{
  id: integer(),
  name: String.t(),
  round_factor: float()
}

Bexio Currency

fields

Fields:

  • :id - automatic id given by bexio
  • :name - Currency Name
  • :round_factor - How to round the given currency

Link to this section Functions

Link to this function

round(t, currency)

Rounds an amount to the given currency round factor