alegra cost-centers
alegra cost-centers¶
Manage cost centers
Synopsis¶
Manage cost centers (centros de costo) — labels for grouping income and expenses by project, branch, or area in accounting reports.
Options¶
-h, --help help for cost-centers
Options inherited from parent commands¶
--base-url string Override the API base URL (env: ALEGRA_BASE_URL)
--columns strings Comma-separated columns for table/csv output
--dry-run Print the equivalent curl request without sending it
--no-color Disable colored output (also respects the NO_COLOR env var)
-o, --output string Output format: table, json, yaml, csv (env: ALEGRA_OUTPUT)
--profile string Configuration profile to use (env: ALEGRA_PROFILE)
--requests-per-second float Client-side rate limit (default from config)
--show-token In --dry-run, do not redact the Authorization header
-v, --verbose Enable verbose (debug) logging to stderr
SEE ALSO¶
- alegra - Alegra accounting system CLI
- alegra cost-centers create - Create a cost-center
- alegra cost-centers delete - Delete a cost-center by ID
- alegra cost-centers export - Export all cost-centers to CSV or JSON
- alegra cost-centers get - Get a single cost-center by ID
- alegra cost-centers import - Bulk-create cost-centers from a CSV file
- alegra cost-centers list - List cost-centers
- alegra cost-centers update - Update a cost-center by ID