BexioApiClient. Accounting. JournalEntry
(bexio_api_client v2.0.0)
Copy Markdown
Bexio Journal Entry Module.
Summary
Types
@type t() :: %BexioApiClient.Accounting.JournalEntry{ amount: Decimal.t(), base_currency_amount: Decimal.t(), base_currency_id: integer(), credit_account_id: integer(), currency_factor: float(), currency_id: integer(), date: DateTime.t(), debit_account_id: integer(), description: String.t(), id: integer(), ref_class: :kb_offer | :kb_order | :kb_invoice | :kb_delivery | String.t(), ref_id: integer(), ref_uuid: String.t() }
Bexio Journal Entry (a single accounting journal booking)
Fields:
:id- automatic id given by bexio:ref_id- the id of the referenced document:ref_uuid- the uuid of the referenced document:ref_class- the class of the referenced document (:kb_offer/:kb_order/:kb_invoice/:kb_delivery; unknown class names are kept as strings):date- the booking date:debit_account_id- the id of the debit account:credit_account_id- the id of the credit account:description- the description of the booking:amount- the booked amount in the currency of the booking:currency_id- the id of the currency, references a currency object:currency_factor- the currency factor:base_currency_id- the id of the base currency:base_currency_amount- the amount in the base currency