BexioApiClient.SalesOrderManagement.PositionDefault (bexio_api_client v0.7.0)

Default Position (KbPositionCustom)

Link to this section Summary

Types

t()

Default Position

Functions

Create a new record.

Link to this section Types

@type t() :: %BexioApiClient.SalesOrderManagement.PositionDefault{
  account_id: integer(),
  amount: Decimal.t(),
  discount_in_percent: Decimal.t(),
  id: integer(),
  internal_pos: integer(),
  optional?: boolean(),
  parent_id: integer() | nil,
  pos: integer(),
  position_total: Decimal.t(),
  tax_id: integer(),
  tax_value: Decimal.t(),
  text: String.t(),
  unit_id: integer(),
  unit_name: String.t(),
  unit_price: Decimal.t()
}

Default Position

fields

Fields:

  • :id - automatic id given by bexio
  • :text - text
  • :amount - amount
  • :account_id - References an account object
  • :unit_id - References a unit object
  • :unit_name - Unit Name
  • :unit_price - Unit Price
  • :discount_in_percent - Discount in Percentage
  • :position_total - Position Total
  • :tax_id - References a tax object (only active sales taxes can be used)
  • :tax_value - Tax Value
  • :pos - Position
  • :optional? - is the position optional?
  • :internal_pos - Internal position id
  • `:parent_id - if exists or nil

Link to this section Functions

Link to this function

new(attrs \\ %{})

@spec new(map()) :: t()

Create a new record.