Beancount.Directives.Include (beancount_ex v0.6.0)

Copy Markdown View Source

The include directive pulls another ledger file into the current one.

See Includes.

Beancount syntax

include "accounts/checking.bean"

General form: include "Path"

This directive has no date. Place it at the top of a directive list, before dated entries, to mirror real Beancount file layout.

Elixir struct

%Beancount.Directives.Include{
  path: "accounts/checking.bean"
}

Or use Beancount.include/1:

Beancount.include("accounts/checking.bean")

Fields

  • path - relative or absolute path to another .bean file. Rendered as a quoted string.

Summary

Types

t()

@type t() :: %Beancount.Directives.Include{path: String.t()}