LexOffice.list_vouchers

You're seeing just the function list_vouchers, go back to LexOffice module for more information.
Link to this function

list_vouchers(opts \\ [], client \\ Connection.new())

View Source

Specs

list_vouchers(keyword(), Tesla.Env.client() | nil) ::
  {:ok, LexOffice.Model.VoucherListResponse.t()} | {:error, Tesla.Env.t()}

List vouchers.

Parameters

  • opts (KeywordList): [optional] Optional parameters
    • :voucherType (String.t): Comma separated list of voucher-types, e.g. purchaseinvoice,invoice.
    • :voucherStatus (String.t): Find vouchers by their voucherStatus, e.g. open.
    • :page (integer()): The page to access..
    • :size (integer()): The number of items to return per page.
  • connection (LexOffice.Connection): [optional] Connection to server

Returns

  • {:ok, %LexOffice.Model.VoucherListResponse{}} on success
  • {:error, info} on failure