alegra payments
alegra payments¶
Manage payments (incomes and expenses)
Synopsis¶
Manage payments. type "in" is money received (income, against invoices); type "out" is money paid (expense, against bills). Allocate a payment to documents via the invoices[]/bills[] arrays in the body. In Costa Rica/Mexico a payment may need electronic stamping — see the stamp subcommand (REP / complemento de pago).
Options¶
-h, --help help for payments
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 payments create - Create a payment
- alegra payments delete - Delete a payment by ID
- alegra payments export - Export all payments to CSV or JSON
- alegra payments get - Get a single payment by ID
- alegra payments import - Bulk-create payments from a CSV file
- alegra payments list - List payments
- alegra payments open - Revert a voided payment
- alegra payments stamp - Emit electronic payment receipt (REP)
- alegra payments update - Update a payment by ID
- alegra payments void - Void a payment