ETL Exports

Data deliveries of all of your apps' transaction data


The ETL Export integration is available on the Pro plan.

RevenueCat can automatically send data deliveries of all of your apps' transaction data to various cloud storage providers. These are in the form of .csv files delivered daily.

Setup Instructions

Transaction Format


All dates and times are in UTC.

HeaderCan be nullComments
rc_original_app_user_idCan be used as a unique user identifier to find all of a user's transactions.
rc_last_seen_app_user_id_aliasCan be used together with rc_original_app_user_id to match transactions with user identifiers in your systems.
countryβœ…Last seen country of the subscriber.
product_identifierThe product identifier that was purchased.
start_timePurchase time of transaction.
end_timeβœ…Expiration time of subscription. Null when is_auto_renewable = false
For Google Play, end_time can be before start_time to indicate an invalid transaction (e.g. billing issue).
storeThe source of the transaction. Can be app_store, play_store, stripe, or promotional.
is_auto_renewabletrue for auto-renewable subscriptions, false otherwise.
is_trial_periodtrue if the transaction was a trial.
is_in_intro_offer_periodtrue if the transaction is in an introductory offer period.
is_sandboxtrue for transactions made in a sandbox environment.
price_in_usdβœ…The gross revenue generated from the transaction. All prices are converted to USD. Can be null if product prices haven't been collected from the user's device.
takehome_percentage0.7 or 0.85. Use this to calculate the proceeds of a transaction.
store_transaction_idorderId or transaction_identifier. ​Can be used as unique id.
original_store_transaction_idorderId of first purchase or original_transaction_id. Can be used to find all related transactions for a single subscription.
refunded_atβœ…When a refund was detected, null if none was detected. Can be checked for existence to indicate transactions which have been refunded.
unsubscribe_registered_atβœ…When we detected an unsubscribe (opt-out of auto renew).
billing_issues_detected_atβœ…When we detected billing issues, null if none was detected.
purchased_currencyβœ…The currency that was used for the transaction.
price_in_purchased_currencyβœ…The product's price in the currency that was used for the transaction.
entitlement_identifiersβœ…An array of entitlements that the transaction unlocked or null if it didn't unlock any entitlements.
renewal_numberAlways starts at 1. Trial conversions are counted as renewals. is_trial_conversion is used to signify whether a transaction was a trial conversion.
is_trial_conversionIf true, this transaction is a trial conversion.
presented_offeringβœ…The offering presented to users. Can be used to filter Experiment transactions.
reserved_subscriber_attributesβœ…The reserved subscriber attributes set for the subscriber. Keys begin with $.
custom_subscriber_attributesβœ…The custom attributes set for the subscriber.
platformβœ…Last seen platform of the subscriber.


Re-enable integration to update to latest version

If your exports don't contain all of the columns above, you may be on an older export version. To update to the latest version disconnect, and re-connect the integration from the RevenueCat dashboard.

A note on transaction data

All transaction data is based on the store receipts that RevenueCat has received. Receipts often have inconsistencies and quirks which may need to be considered. For example:

  • The expiration date of a purchase can be before the purchase date. This is Google's way of invalidating a transaction, for example when Google is unable to bill a user some time after a subscription renews. This doesn’t occur on iOS.
  • Google returns only 90 days of recent transaction history, so some old transactions maybe missing if Google fetch tokens were imported.
  • Apple and Google do not provide the transaction price directly, so we must rely on historical data for the products that we have. This isn’t 100% accurate in cases where the prices were changed or receipts were imported.
  • Renewal numbers start at 1, even for trials. Trial conversions increase the renewal number.
  • Data is pulled from a snapshot of the current receipt state, this means that the same transaction can be different from one delivery to another if something changed, e.g.refunds, and billing issues. You should recompute metrics for past time periods periodically to take these changes into account.

We try to normalize or at least annotate these quirks as much as possible, but by and large we consider receipts as the sources of truth, so any inconsistencies in the transaction data can always be traced back to the receipt

Sample Queries

The following sample queries are in Postgresql.

-- Active trials
  end_time > NOW()
  AND is_trial_period = TRUE
  AND renewal_number = 1
  AND is_sandbox = FALSE
  AND refunded_at IS NULL;
-- Active subscriptions
  end_time > NOW()
  AND is_trial_period = FALSE
  AND is_in_intro_offer_period = FALSE
  AND is_sandbox = FALSE
  AND refunded_at IS NULL
  AND price != 0;

-- The RevenueCat charts exclude promotional transactions.
-- you can include the following filter to exclude promotional
-- transactions from your queries as well
product_identifier NOT ILIKE 'rc_promo%'
-- Revenue past 28 days (USD)
  start_time > (CURRENT_DATE - INTERVAL '28 days')
  AND is_sandbox = false;