Abiquo 5.0

Skip to end of metadata
Go to start of metadata

This guide provides steps to quickly get the billing system up and running on a Zuora System for testing. For full details, please refer to the main Zuora Billing Integration page.

1. Unzip the 'abiquo-billing-redist.zip' file into suitable 'install location' on your chosen machine.

2. Populate the Account Mapping table. For a simple test, identify an Abiquo Enterprise to use (noting its 'idEnterprise' value in the DBMS), and then run the following SQL statement to store a mapping to a Zuora account:

INSERT INTO kinton.billing_account_mapping (idAbiquo, idMappingType,
billingAttributeName, billingAttributeValue) VALUES (1, 1, 'ZUORA_ACCOUNT_NUMBER',
'ZDEMO');

The above statement adds a mapping for idEnterprise 1 to a Zuora Account Number 'ZDEMO'. You can change the red text to match any other Enterprise/Account Number combination.

3. Create a MySQL user account that can be used by the billing system to access the DBMS:

CREATE USER 'billing'@'%' IDENTIFIED BY 'password';
GRANT SELECT,EXECUTE ON kinton.* TO 'billing'@'%';
GRANT SELECT ON kinton_accounting.* TO 'billing'@'%';
GRANT SELECT ON mysql.proc TO 'billing'@'%';

4. Modify the billing.properties file, updating the following values:

connector_name=Zuora
dbms_connection_url=jdbc:mysql://<DBMS IP Address>:3306/kinton
dbms_user=billing
dbms_password=mypassword

5. Modify the zuora.properties files, updating the following red values appropriately for the Zuora system:

url=apisandbox.zuora.com/apps/services/a/34.0" class="external-link" rel="nofollow">https://apisandbox.zuora.com/apps/services/a/34.0
username=apiuser@yourcompany.com
(This should be a user account created in Zuora as an 'API Only' user role)
password=password

6. Now configure the Zuora System. Ensure that you have configured:

  • Zuora Units of Measure (UOMs) - see the Billing User Guide for full details
  • Product (including a product Rate Plan containing the UOMs)
  • Customer Account (ensure the Account Number matches the string from step 3)
  • Subscription (which maps the Product and Customer Account). Note: If you want to process pre-existing data, ensure that the subscription start date covers that pre-existing date range.

7. Optionally, enable Cost Code, Storage Tier, Hypervisor, Costing and Custom Usages. Please see the main Zuora Billing Integration page for further details of how to do this.

8. Run the billing.sh file ('.billing.sh' from the install directory) to generate Zuora usage data.

9. Review the usage data in Zuora. You should now be able to invoke a Bill Run and generate a Zuora Invoice based upon the uploaded usage data.