BexioApiClient.Accounting.ManualEntryFile (bexio_api_client v2.0.0)

Copy Markdown

Bexio Manual Entry File Module.

A file attached to a manual entry (or to a single manual entry line). Same shape as BexioApiClient.Files.File, but the show responses of the manual entry file endpoints additionally contain the base64 encoded content.

Summary

Types

t()

Bexio Manual Entry File

Types

t()

@type t() :: %BexioApiClient.Accounting.ManualEntryFile{
  archived?: boolean(),
  created_at: DateTime.t(),
  data: String.t() | nil,
  extension: :atom,
  id: integer(),
  mime_type: String.t(),
  name: String.t(),
  referenced?: boolean(),
  size_in_bytes: non_neg_integer(),
  source_id: integer() | nil,
  source_type: :web | :email | :mobile | nil,
  uploader_email: String.t() | nil,
  user_id: integer(),
  uuid: String.t()
}

Bexio Manual Entry File

Fields:

  • :id - automatic id given by bexio
  • :uuid - the uuid of the file
  • :name - the name of the file
  • :size_in_bytes - the size of the file in bytes
  • :extension - the file extension
  • :mime_type - the mime type of the file
  • :uploader_email - email of the uploader (if available)
  • :user_id - the id of the uploading user
  • :archived? - whether the file is archived
  • :source_type - how the file was uploaded (:web, :email or :mobile)
  • :source_id - deprecated by bexio in favor of :source_type
  • :referenced? - whether the file is referenced
  • :created_at - creation date of the file
  • :data - base64 encoded file content (only part of the show responses)