Billing & Subscription Errors
| Error code | What it means | What to do |
|---|---|---|
BILLING_PLAN_NOT_FOUND | The referenced billing plan does not exist. | Verify the plan ID or contact platform admin. |
BILLING_INVOICE_NOT_FOUND | The invoice record cannot be located. | Check the invoice ID or regenerate from billing history. |
BILLING_INVOICE_AMOUNT_MUST_BE_NON_NEGATIVE | Invoice amount must be zero or positive. | Correct the amount before saving. |
BILLING_HISTORY_NOT_FOUND | No billing history found for this account. | No billing events have been recorded yet. |
BILLING_HISTORY_INVALID_ACTION | The action is not valid for the current billing state. | Check subscription status before performing this action. |
BILLING_NOTIFICATION_ALREADY_SENT | This billing notification has already been sent. | No action needed — duplicate send prevented. |
BILLING_NOTIFICATION_SCHEDULE_DATE_MUST_BE_IN_FUTURE | Scheduled notification date must be in the future. | Set the notification date to a future date. |
BILLING_SUBSCRIPTION_INVALID_FOR_INVOICE_GENERATION | Subscription state prevents invoice generation. | Activate the subscription before generating an invoice. |
SUBSCRIPTION_NOT_FOUND | No subscription found for this company. | Check billing setup or create a new subscription. |
SUBSCRIPTION_NOT_ACTIVATED_CANNOT_SET_TRIAL_OR_BILLING | Subscription must be activated first. | Activate the subscription before setting trial or billing dates. |
COMPANY_ALREADY_HAS_ACTIVE_SUBSCRIPTION | Company already has an active subscription. | Cancel or expire the current plan before creating a new one. |
SUBSCRIPTION_PRICE_MUST_BE_NON_NEGATIVE | Subscription price must be zero or positive. | Enter a valid non-negative price. |