Useful commands
Useful commands for self-hosted users.
Below is a compilation of essential commands tailored for open-source enthusiasts, primarily designed for managing invoicing tasks, whether for immediate processing or scheduling.
These commands are designed to execute a Rails console (rails c) within a Docker container named api, which is managed by Docker Compose.
Dry-run invoice in the future
Use this to simulate a dry run invoice for a future date. Ensure to specify the correct subscription external_id
and the targeted invoice issuance date.
Issue invoice immediately
Use this to issue an invoice immmediately. Ensure to specify the correct subscription external_id
and the current date.
Remove cache for a subscription
Use this to remove the cache on a specific subscription.
To remove the cache for all subscriptions, you can alternatively use this command:
Was this page helpful?