Skip to main content

Collect data for Billing - Revenue Integration


Collect data for Billing - Revenue Integration

After Zuora Billing data is transformed into transaction lines in Revenue staging tables, you can collect transaction data into Zuora Revenue. Then, Zuora Revenue can group the collected transaction lines into the revenue contract (RC) based on the RC grouping templates that are defined. The Data Collection job is provided for this purpose. There are multiple ways to run Data Collection jobs in Zuora Revenue:

  • Enable the Instant On feature to configure the Data Collection job to run automatically after the Revenue Sync job completes. However, a limitation of this way is that only one RC grouping template can be selected as the default and be used by the automated Data Collection job. If you have the business need to collect transaction data based on different RC grouping templates, you must manually run or schedule the job for the non-default RC grouping templates.
  • Manually start the Data Collection job whenever needed. Alternatively, you can schedule this job to run automatically on a regular basis.


The Data Collection job is run for the RC batch, which is created based on the RC grouping template. Before creating the RC batch and starting a Data Collection job, the RC grouping templates must be defined in Zuora Revenue. If you want to use the Instant On feature for automated Data Collection jobs, make sure one RC grouping template is configured as the default in Zuora Revenue. For more information, see Create RC grouping template.

Run Data Collection jobs with Instant On enabled

The Instant On feature is available only for Billing - Revenue Integration environments. To use the Instant On feature and automatically start Data Collection jobs, the following configuration is required:

  • The AUTO_REVENUESYNC profile is set to Yes.
  • The AUTO_REVENUE_SYNC lookup is appropriately defined for the RevenueSync_FromDate, RevenueSync_Duration, and ROLE_ID lookup codes. In addition, the Auto Collect lookup code is set to Yes.

When the configuration is done, the Data Collection job will automatically start after completing the automated Revenue Sync. The Data Collection job will be run based on the default RC grouping template.

Manually run Data Collection jobs

If the Instant On feature is not applicable or if this feature is used only to start automated Revenue Sync jobs, you have to run or schedule the Data Collection job manually.

Similar to collecting data from other integrated upstream systems, you must create an RC batch before collecting data. Perform the following steps to schedule the Data Collection job:

  1. Create an RC batch.
  2. Schedule the Data Collection job.

Create RC batch

Complete the following steps to create an RC batch for Billing - Revenue Integration:

  1. In the Zuora Revenue UI, navigate to Workbench > Revenue Contracts.
  2. Click open-side-menu.png to open the side menu and click Batches
  3. Click icon-add.png to create a new revenue contract batch.
  4. In the Definition tab, complete the batch configuration.
    1. Select the defined RC grouping template from the Copy From Template dropdown list. To add new options to this dropdown list, navigate to Policies > RC Grouping Templates to create new templates.
    2. In the Batch Name field, enter the name for this batch.
    3. Click icon-save.png to save the template.
  5. (Optional) In the Filters tab, specify the filter conditions displayed based on the selected batch template. You can also click icon-add-new.png to add a new filter condition. For example, if you select Group By Subscription as the template, you can specify the following conditions:
  6. Click icon-save-new.png to save the configuration, then close the window. Subsequently, the created batch is displayed in the RC batch table with a unique batch ID. This ID is required when scheduling the Data Collection job.
  7. (Optional): To run a one-off Data Collection job, complete the following steps:
    1. Hover over the created batch item and click the Collect Data icon icon-detail-download.png.
    2. In the Confirm Collect Data dialog, click OK. If the request is successfully submitted, the data for this batch will then be collected.
    After the Data Collection job completes, the status for this batch is updated to DATA COLLECTED.

Schedule Data Collection job

You should run the Data Collection job on a daily basis so that issues can be captured and resolved early. Therefore, you might have to schedule the Data Collection job to run at the end of every day.

See Schedule jobs to understand how to schedule a job and what each configuration field stands for. The following points are specific to the Data Collection job:

  • In the Schedule Program tab, select RevPro3.0 Data Collection from the Program Name dropdown list. 
  • In the Program Parameters tab:
    • Enter the batch ID of the created RC batch in the Value column for the BATCH ID parameter. For example, enter10017.
    • Enter COLLECT DATA in the Value column for the TYPE parameter.

Note that duplicate records might exist in Staging. The Data Collection job will remove duplicate lines during the collection process.


After the Data Collection job completes, the status for the scheduled Data Transformation job is updated to Completed on the Schedule Jobs page.

To view all collected transaction lines, complete the following steps:

  1. Navigate to Workbench > Revenue Contracts.
  2. Click open-side-menu.png to open the side menu and click Batches.
  3. Hover over the RC batch you collected and click the Review Data icon icon-view-transactions.png.
  4. For each RC line, hover over it and click the Review RC icon icon-view-contract.png to view the corresponding RC details.