Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.nekt.com/llms.txt

Use this file to discover all available pages before exploring further.

Chargebee is a subscription billing and revenue management platform that helps businesses automate recurring billing, manage subscriptions, handle invoicing, and optimize revenue operations across multiple payment gateways and regions.

Configuring Chargebee as a Source

In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the Chargebee option from the list of connectors. Click Next and you’ll be prompted to add your access.

1. Add account access

You’ll need to provide your Chargebee API credentials. The following configurations are available:
  • API Key: Your Chargebee API key. You can generate one from Settings > Configure Chargebee > API Keys in your Chargebee dashboard.
  • Site Name: Your Chargebee site name, which is the subdomain of your Chargebee URL. For example, if your Chargebee URL is acme.chargebee.com, the site name is acme.
  • Start Date: (Optional) The earliest date from which records will be synced.
Once you’re done, click Next.

2. Select streams

Choose which data streams you want to sync. For faster extractions, select only the streams that are relevant to your analysis. You can select entire groups of streams or pick specific ones.
Tip: The stream can be found more easily by typing its name.
Select the streams and click Next.

3. Configure data streams

Customize how you want your data to appear in your catalog. Select the desired layer where the data will be placed, a folder to organize it inside the layer, a name for each table (which will effectively contain the fetched data) and the type of sync.
  • Layer: choose between the existing layers on your catalog. This is where you will find your new extracted tables as the extraction runs successfully.
  • Folder: a folder can be created inside the selected layer to group all tables being created from this new data source.
  • Table name: we suggest a name, but feel free to customize it. You have the option to add a prefix to all tables at once and make this process faster!
  • Sync Type: you can choose between INCREMENTAL and FULL_TABLE.
    • Incremental: every time the extraction happens, we’ll get only the new data, which is good if you want to keep every record ever fetched.
    • Full table: every time the extraction happens, we’ll get the current state of the data, which is good if you don’t want to have deleted data in your catalog.
Once you are done configuring, click Next.

4. Configure data source

Describe your data source for easy identification within your organization, not exceeding 140 characters. To define your Trigger, consider how often you want data to be extracted from this source. This decision usually depends on how frequently you need the new table data updated (every day, once a week, or only at specific times). Optionally, you can define some additional settings:
  • Configure Delta Log Retention and determine for how long we should store old states of this table as it gets updated. Read more about this resource here.
  • Determine when to execute an Additional Full Sync. This will complement the incremental data extractions, ensuring that your data is completely synchronized with your source every once in a while.
Once you are ready, click Next to finalize the setup.

5. Check your new source

You can view your new source on the Sources page. If needed, manually trigger the source extraction by clicking on the arrow button. Once executed, your data will appear in your Catalog.
For you to be able to see it on your Catalog, you need at least one successful source run.

Streams and Fields

Below you’ll find all available data streams from Chargebee and their corresponding fields:
FieldType
idstring
first_namestring
last_namestring
emailstring
phonestring
companystring
auto_collectionstring
net_term_daysinteger
allow_direct_debitboolean
created_atinteger
updated_atinteger
taxabilitystring
localestring
pii_clearedstring
channelstring
resource_versioninteger
deletedboolean
registered_for_gstboolean
customer_typestring
business_customer_without_vat_numberboolean
primary_payment_source_idstring
backup_payment_source_idstring
promotional_creditsinteger
unbilled_chargesinteger
refundable_creditsinteger
excess_paymentsinteger
preferred_currency_codestring
mrrinteger
cf_custom_fieldsstring
FieldType
idstring
customer_idstring
plan_idstring
plan_quantityinteger
plan_unit_priceinteger
plan_amountinteger
billing_periodinteger
billing_period_unitstring
plan_free_quantityinteger
statusstring
trial_startinteger
trial_endinteger
current_term_startinteger
current_term_endinteger
next_billing_atinteger
created_atinteger
updated_atinteger
started_atinteger
activated_atinteger
cancelled_atinteger
cancel_reasonstring
channelstring
resource_versioninteger
deletedboolean
currency_codestring
mrrinteger
exchange_ratenumber
base_currency_codestring
has_scheduled_changesboolean
has_scheduled_advance_invoicesboolean
due_invoices_countinteger
start_dateinteger
auto_collectionstring
remaining_billing_cyclesinteger
FieldType
idstring
document_numberstring
invoice_idstring
subscription_idstring
customer_idstring
statusstring
cancellation_reasonstring
payment_statusstring
order_typestring
price_typestring
order_dateinteger
shipping_dateinteger
created_atinteger
updated_atinteger
shipped_atinteger
delivered_atinteger
cancelled_atinteger
totalinteger
sub_totalinteger
taxinteger
discountinteger
amount_paidinteger
amount_adjustedinteger
refundable_credits_issuedinteger
tracking_idstring
tracking_urlstring
batch_idstring
resource_versioninteger
deletedboolean
currency_codestring
FieldType
idstring
customer_idstring
subscription_idstring
gateway_account_idstring
payment_source_idstring
payment_methodstring
gatewaystring
typestring
dateinteger
settled_atinteger
exchange_ratenumber
currency_codestring
amountinteger
amount_unusedinteger
base_currency_codestring
id_at_gatewaystring
statusstring
error_codestring
error_textstring
fraud_flagstring
reference_numberstring
resource_versioninteger
updated_atinteger
created_atinteger
deletedboolean