Expensicat
CLI

Categories

Classify transactions and entries with custom categories

category list

List categories.

expensicat category list
FlagDescription
--cursor <string>Pagination cursor
--limit <number>Page size

category show

Get a category by ID.

expensicat category show cat_abc123
ArgDescription
<id>Category ID

category create

Create a category. Interactive when fields are missing, or pipe JSONL via --batch - for bulk creates.

expensicat category create --name "Software" --color "#3b82f6"
cat categories.jsonl | expensicat category create --batch -
FlagDescription
--name <string>Category name (required)
--color <string>Hex color (e.g. #ff0000)
--batch <path|->Read items from a file or stdin — see Batch input

On this page