BexioApiClient.SalesOrderManagement.PositionItem (bexio_api_client v0.6.4)
Item Position (KbPositionCustom)
Link to this section Summary
Functions
Create a new record.
Link to this section Types
@type t() :: %BexioApiClient.SalesOrderManagement.PositionItem{ account_id: integer(), amount: Decimal.t(), article_id: pos_integer(), 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:article_id
- references an item object: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 \\ %{})
Create a new record.