# `Beancount.Schemas.Note`
[🔗](https://github.com/thanos/beancount_ex/blob/v0.6.0/lib/beancount/schemas/directives.ex#L206)

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
    }

# `t`

```elixir
@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()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
