BexioApiClient.Accounting (bexio_api_client v0.1.5)

Bexio API for the accounting part of the API.

Link to this section Summary

Functions

Fetch a list of accounts.

Search accounts via query. The following search fields are supported

Link to this section Functions

Link to this function

fetch_accounts(client, opts \\ [])

@spec fetch_accounts(
  client :: Tesla.Client.t(),
  opts :: [BexioApiClient.GlobalArguments.offset_without_order_by_arg()]
) :: {:ok, [BexioApiClient.Accounting.Account.t()]} | {:error, any()}

Fetch a list of accounts.

Link to this function

search_accounts(client, criteria, opts \\ [])

@spec search_accounts(
  client :: Tesla.Client.t(),
  criteria :: [BexioApiClient.SearchCriteria.t()],
  opts :: [BexioApiClient.GlobalArguments.offset_without_order_by_arg()]
) :: {:ok, [BexioApiClient.Accounting.Account.t()]} | {:error, any()}

Search accounts via query. The following search fields are supported:

  • account_no
  • fibo_account_group_id (TODO: test this)
  • name
  • account_type