beancount
    Preparing search index...

    Interface GenericParseResultTransaction

    Generic parse result specifically for transaction entries. Extends the dated result with transaction-specific fields like body lines and flags.

    interface GenericParseResultTransaction {
        body: string[];
        fake?: false;
        flag?: string;
        header: string;
        props: { comment?: string } & { date: string; flag?: string };
        type: BeancountEntryType;
    }

    Hierarchy

    Index

    Properties

    body: string[]

    The body lines of the transaction (posting lines)

    fake?: false
    flag?: string

    Optional transaction flag character (e.g., '*', '!')

    header: string

    The main header content from the first line of the entry

    props: { comment?: string } & { date: string; flag?: string }

    Extended properties including date and optional flag

    Type Declaration

    • Optionalcomment?: string

      Optional comment text following a semicolon

    • date: string

      The date string in YYYY-MM-DD format

    • Optionalflag?: string

      Optional transaction flag character

    The type of Beancount entry (e.g., 'open', 'close', 'balance')