Skip to Content
Commands

report

Report on the ledger over a period or at a date.

traj report reports on the ledger. Both reports take their date from you, never from the clock.

traj report networth

Show the assets and liabilities behind net worth at a date.

  • --as-of <string> — the date the result is stated at, as YYYY-MM-DD; required
traj report networth --as-of 2026-03-31 --json  # The asset and liability balances that make up net worth.

The total is totals, one entry per currency — the same figure balance prints as netWorth.

A sample --json output, pretty-printed here because --json prints one line, from a ledger with Cash (asset), Loan (liability) and Opening Equity (equity) and one 1,000 THB opening transaction on 2026-01-01, read at 2026-03-31:

{
  "asOf": "2026-03-31",
  "rows": [
    {
      "account": {
        "id": "01a1ef67-3b44-7415-9e90-6716503a9d1c",
        "name": "Cash"
      },
      "type": "asset",
      "amount": "1000.00",
      "currency": "THB"
    },
    {
      "account": {
        "id": "01a1ef67-40f6-75b7-939b-e27cccd05d01",
        "name": "Loan"
      },
      "type": "liability",
      "amount": "0.00",
      "currency": "THB"
    }
  ],
  "totals": [
    {
      "currency": "THB",
      "amount": "1000.00"
    }
  ]
}

traj report pnl

Report income minus expenses over a period. Date ranges are --since and --until, both inclusive.

  • --until <string> — the period’s inclusive end date, as YYYY-MM-DD; required
  • --since <string> — the period’s inclusive start date; omit to start at the ledger’s beginning
  • --project <string> — only postings carrying this exact project dimension value
traj report pnl --until 2026-03-31 --json                                # Income minus expenses from the ledger's beginning.
traj report pnl --since 2026-01-01 --until 2026-03-31 --project venture  # One side venture's period.

See Commands for the global options, exit codes and error envelope.