Skip to main content
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 immediately. 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:

Audit logs of a subscription

Use this to view all changes applied to a subscription and identify which membership made those changes.