New in Chargebee: Explore Reveal and understand your payment performance end-to-end.Try Now
Docschargebee docs
HomeBillingPaymentsRevRecGrowthReveal
Support

Product Updates


  • Release Notes

Getting Started


  • Overview
  • Chargebee Billing Data Centers
  • Object Relationship Model
  • Understanding Sites
  • Chargebee Tech Glossary
  • Articles and FAQ

Implementing Chargebee


  • Implementation Guide
  • Go-live Checklist
  • Articles and FAQ

AI in Chargebee


  • Chargebee Copilot
  • Chargebee Model Context Protocol (MCP) Server

Developer Resources


  • Developer Resources Overview
  • API Explorer
  • Articles and FAQ

Product Catalog


  • Product Catalog Overview
  • Coupons
  • Articles and FAQ

Subscriptions


  • Working with Subscriptions
  • Billing
  • Orders
  • Articles and FAQ

Customers


  • Managing Customers
  • Account Hierarchy
  • Email Notifications
  • Branding
  • Configure Multiple Languages
  • Articles and FAQ

Entitlements


  • Entitlements Overview
  • Features Overview
  • Feature Management
  • Managing Product Entitlements
  • Subscription Entitlements
  • Customer Entitlements
  • Grandfathering Entitlements
  • Articles and FAQ

Usage Based Billing


  • Understanding Usages
  • Setting up Usage Based Billing
  • Usage Alerts
  • Metered Billing
  • Articles and FAQ

Chargebee CPQ


  • Chargebee CPQ
  • Chargebee CPQ for Salesforce
  • Chargebee CPQ for HubSpot

Invoices, Credit Notes, and Quotes


  • Invoices
  • Credit Notes
  • Quotes [Legacy]
  • Transactions
  • Articles and FAQ

Taxes


  • Overview
  • Configuring Taxes
  • Country-specific Taxes
  • Articles and FAQ

Hosted Capabilities


  • Overview
  • Hosted Checkout
  • Hosted Self-Serve Portal
  • Hosted Pages Features
  • Additional Hosted Pages
  • Payment Components
  • Pricing Table
  • Managing Payments with Chargebee.js
  • Mobile-Optimized Hosted Pages
  • Articles and FAQ

Site Configuration


  • Users & Roles
  • Custom Fields & Metadata
  • Approvals
  • Mandatory Fields
  • File Attachments & Comments
  • Advanced Filter Options
  • Multicurrency Pricing
  • Multi-decimal Support
  • Configuring Reason Codes
  • Events and Webhooks
  • API Keys
  • Time Zone
  • Time Machine
  • Transfer Configurations
  • Articles and FAQ

Multi Business Entity


  • Multi Business Entity Overview
  • Customer Transfer Overview
  • Articles and FAQ

Mobile Subscriptions


  • Overview
  • Omnichannel Subscriptions
  • Omnichannel One-Time Orders
  • Mobile Subscriptions (Legacy)

Reports and Analytics


  • RevenueStory
  • Home Dashboard
  • Frequently Asked Questions
  • FAQs for Classic Reports Sunset
  • Articles and FAQ

Integrations


  • Sales
  • Customer Support and Success
  • Finance
  • Tax
  • eInvoicing
  • Marketing
  • Stitch
  • Collaboration
  • Contract Management
  • Ecommerce Management
  • Articles and FAQ

Data Privacy & Security


  • Two Factor Authentication
  • SAML Single Sign-On
  • System for Cross-Domain Identity Management (SCIM)
  • EU-GDPR
  • Consent Management
  • Personal Data Management
  • Compliance Certificates
  • HIPAA Guidelines
  • PCI Recommendations and Integration Types
  • Articles and FAQ

Data Operations


  • Bulk Operations
  • Migration
  • Articles and FAQ
  1. Billing
  2. Site Configuration
  3. Articles and FAQ
  4. Advanced Filter Options
  1. Billing
  2. Site Configuration
  3. Articles and FAQ
  4. Advanced Filter Options

How to view & export subscription status?

Problem Statement

You want to know how to view & export subscription status.Scope

How to view the list of subscriptions by status?

How to download the status of the subscription?

How to export subscription status via UI & API?

How to view the subscription status respective to the customer?

Summary

Chargebee allows you to view, and export subscriptions by status from UI (Subscription Index page, Import & Export Data) & via API. With the recent UI enhancement on Latest Product Catalog, you can view the subscription status for a customer from Subscription Index Page.

Solution

View Subscription Status View in Leap UI

On the customer page, the number of active and canceled subscription statuses was missing in Leap UI. With the recent UI enhancement on Latest Product Catalog, now you can see the number of subscription statuses on the customer page.

image

Now you can see the active subscription information of a customer with multiple subscription statuses. This helps you and the support team to look through the details without navigating to the customer details page. We have done the following improvements.

  • On Customer Index Page, the first active subscriptions appear. This will minimize the cost of an operation such as a view subscription for a customer.

  • The subscriptions will be sorted as per the order mentioned below.

    1. Active - These subscriptions are charged based on the plan, add-ons, and billing period.
    2. Future - Subscriptions that are going to be In Trial or Active state on the specified date.
    3. In Trial - Active subscriptions that are in the In Trial state.
    4. Paused - Active subscriptions that are temporarily stopped.
    5. Non-Renewing - Subscriptions that are scheduled to cancel and will no longer renew. \
    6. Cancelled - Inactive subscriptions that will no longer renew.

Refer to this link for a quick demo video.

Export Subscription data via UI:

I. Subscription Index Page

Go to the Subscription Index Page and you can download the report using Advanced Filter Options from 'Filter List'. Click on Filter list > Subscription > Status

image

You can also use multiple filters if required and then you can click on Export and download it using Export as CSV.

image

II. Import & Export Data:

Navigate to Settings > Import & Export Data > Export Data > Subscription > Select criteria to export.

You can download the report for current subscriptions that include the Active, Non-Renewing statuses. You can choose the subscription statuses from 'Status > Includes > Active, Non-Renewing'. You can also include other statuses such as Trial and Future as per your business requirements.

You can 'Preview' the data and 'Export' as a CSV file.

image

Export Subscription status via API

Getting status for all subscriptions (limit set as 5).

  $all = ChargeBee_Subscription::all(array("limit" => 5));  
  foreach($all as $entry){ 
    $subscription = $entry->subscription();  
    echo  "SubID:" . $subscription->id . " - SubStatus: " . $subscription->status . "";  
  }

Getting the status of a particular subscription:

  $subscription_id="\<replace-with-subscription-id>";
    $result = ChargeBee_Subscription::retrieve($subscription_id);
    $subscription = $result->subscription();
    echo "$subscription->status";

Was this article helpful?