craftybase expenses list
craftybase expenses list
Section titled “craftybase expenses list”List expenses
Synopsis
Section titled “Synopsis”List expenses (purchases) from your Craftybase account.
An expense is a supplier purchase — header totals plus the materials and costs on each line. Filter by purchase-date range, change time, category, or supplier. Use —all to fetch all pages, or —ndjson for streaming NDJSON output suitable for data pipelines.
craftybase expenses list [flags]Options
Section titled “Options” --all Fetch all pages and render as a single table --category-id string Filter by line-item category ID --from string Filter by purchase date on or after (ISO 8601, e.g. 2026-01-01) -h, --help help for list --page int Page number (1-based) --per-page int Items per page (server clamps to 100) --supplier-id string Filter by supplier ID --to string Filter by purchase date on or before (ISO 8601) --updated-since string Return expenses updated on or after this time (ISO 8601; includes line-item edits)Options inherited from parent commands
Section titled “Options inherited from parent commands” --api-url string API base URL (default: https://api.craftybase.com) --json Output raw API envelope (pretty-printed JSON) --ndjson Output auto-paginated NDJSON stream --no-color Disable ANSI color output --token string API token (overrides stored credentials) --verbose Show HTTP request/response detail (token redacted)SEE ALSO
Section titled “SEE ALSO”- craftybase expenses - Manage expenses