The pushtag directive pushes a tag onto Beancount's tag stack.
See The Tag Stack.
Beancount syntax
pushtag #tripGeneral form: pushtag #Tag
Tags pushed here are automatically applied to following transactions until
a matching poptag.
Elixir struct
%Beancount.Directives.PushTag{
tag: "trip"
}Or use Beancount.push_tag/1:
Beancount.push_tag("trip")Fields
tag- tag name without the#prefix (rendered aspushtag #trip).
Summary
Types
@type t() :: %Beancount.Directives.PushTag{tag: String.t()}