Beancount.Schemas.Note (beancount_ex v0.6.0)

Copy Markdown View Source

Persisted note directive (table beancount_notes).

Storage-layer counterpart of Beancount.Directives.Note.

Fields

  • date - the day the note is attached.
  • account - account the note is associated with.
  • comment - free-text note body.
  • metadata - arbitrary key/value map.
  • file_order - zero-based position of the directive in the source.

Example

%Beancount.Schemas.Note{
  date: ~D[2026-01-03],
  account: "Assets:Bank",
  comment: "called the bank about the fee",
  metadata: %{},
  file_order: 10
}

Summary

Types

t()

@type t() :: %Beancount.Schemas.Note{
  __meta__: term(),
  account: term(),
  comment: term(),
  date: term(),
  file_order: term(),
  id: term(),
  inserted_at: term(),
  metadata: term(),
  updated_at: term()
}