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
}