Conga Product Documentation

Welcome to the new doc site. Some of your old bookmarks will no longer work. Please use the search bar to find your desired topic.

Show Page Sections

Tax Integration Setup

Note:

You must have already installed CPQ packages.

To set up tax integration, you must complete the following tasks:

Setting up Tax Integration

You can set up tax integration with the Avalara Tax Engine to automate tax calculations in your storefront. This task helps you configure the tax callback class in custom settings so transactions use Avalara for accurate tax computation.
  1. Download and install Avalara Tax Integration with Ecommerce unmanaged package from the repository.
  2. Go to Custom Settings and click Manage for Config Custom Classes.
  3. Click New.
  4. Enter the Name as System Properties.
  5. In Tax Callback Class, enter APTS_APTSTaxCallBack. This class is part of the Avalara Tax Integration with the Ecommerce unmanaged package.
  6. Click Save.

Enabling Tax Calculations

You can enable tax calculations for your storefront to ensure taxes are automatically calculated during checkout. This task helps you activate the feature so all transactions use the configured tax engine.
  1. Go to the Storefronts tab. Choose and click your storefront name to open your storefront record.
  2. Click Edit and set the Enable Tax Calculations flag to True.
  3. Click Save.
In Partner Commerce at the time of Quote creation or Order generation tax needs to be calculated for taxable line items or order line items. You must create a Tax Code and a Tax Certificate record.

Creating Tax Code and Tax Certificate Record

You can set up a tax code and tax certificate record within your system. Follow these steps to create and configure these records, ensuring your products are taxed correctly according to the provided tax codes and certificates. You can define tax codes and certificates to apply to your price list items and account objects, ensuring compliance with tax regulations.

  1. Go to the Tax Code tab and click New.
  2. Enter aName for the tax code.
  3. In Code, enter the tax code provided by Avalara.
  4. Enter a meaningful Description for the tax code.
  5. Click Save. You can define this code in your price list item.
  6. Go to the Tax Certificate tab and click New.
  7. Enter aNumber for the tax certificate.
  8. Enter a meaningful Description for the tax certificate.
  9. Select the Effective Date and Expiration Date for the tax certificate.
  10. Click Save. You can define the newly created tax certificate in your Account object.

By default, not all products are taxable. To make a product taxable, you must set the Taxable flag to True and enter the tax code on the Price List Item.

Setting up Tax Calculation

You can set up tax calculation for individual products by marking them as taxable and assigning a tax code. This task ensures that the correct tax is applied to each line item during checkout.
  1. Go to the Price List Item for the line item you want to calculate the tax for.
  2. Set the Taxable flag to True and enter theTax Code.
  3. Click Save.

Use Case

In Partner Commerce, when you select a product that is taxable and you request a quote, the system calculates the tax and displays it into the cart. The breakup of the tax is defined in Salesforce from the line item level. The percentage of the tax breakup is passed on from Avalara. The mechanism here is that the API picks the account address and passes it to Avalara. Based on the region/address, Avalara passes tax percentage information which is then computed in Salesforce and displayed in the Tax Breakup object. Refer to the image below for the type of tax breakups populated on the Partner Commerce site.



Now when the order is generated, you get order tax breakup for orders and proposal tax break up for proposals. These tax breakups are attached to respective line items.

You must ensure that the Account object has a valid Billing and Shipping Address and the Tax certificate is defined.

  1. From the Product Catalog, select a Product and add it to the cart.
  2. Click Request Quote. The Request Quote page appears.

    Tax for the selected product is calculated and displayed.

  3. To view the tax break up, click Estimated Tax.


  4. You can either Place an Order or Request a Quote. If you Request a Quote, you can view the tax summary from My Accounts > Quotes. If you place an order, you can view the tax summary from My Accounts > Orders .