cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Tax service integration

Former Member
0 Likes
681

Hello,

Could any one guide me how to integrate the Avalara tax service? I am using hybris version 6.7

I went thru this document and need some clarification..

https://help.hybris.com/6.2.0/hcd/8b778d6686691014a717c375f3d3d89d.html

(1) Do I need to setup the CIS? I am seeing cisClient, cisTax etc. part of ext-addon.

(2) Can't I directly the call the Avalara web service in Hybris code instead of going thru CIS?

(3) I am seeing cisClient par of ext-addons. What configuration required to call the avalara service?

(4) Where exactly I need to call the service in Hybris code?

Thanks in advance.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Likes

Hello,

If I implement a new class using CalculateExternalTaxesStrategy then it is invoking only during checkout page. But the taxes class need to call during cart, checkout and order placement.

Could any guide me any link that has steps to configure avalara tax service or if you provide high level steps that would help me lot.

Basically need some guidance to call the avalara tax service in hybris code.

Thanks in advance.

Former Member
0 Likes

Thanks for your response Murali. Let me go thru it..

Former Member
0 Likes

Thanks for your quick response Murali.

(1) What is the advantage of CIS over calling the tax integration service directly by creating a new class that implements the interface CalculateExternalTaxesStrategy ?

(2) Is implementing the new class and configuring in the beans.xml is enough to call the tax service? or need to write more logic to apply the taxes?

0 Likes

I am NOT sure using the CIS server , you can go through the wiki for that.

For Tax integration, you have to update the each entry in cart level with tax response and I believe there will be another tax called 'freight' charges that u have to update on cart level. I think you can go through your 3rd party tax integration doc and do accordingly.

Former Member
0 Likes

May I know where do I need to invoke the new class (I created AvalaraTaxService) which is implementing CalculateExternalTaxesStrategy in hybris code?

I have custom store front and the class AvalaraTaxService is under xxxCore extension.

0 Likes

HI, Using the CIS or going through the CIS is optional unless if you have separate CIS server instance using for many integrations with your hybris.

The basic answer for your TAX integration is, you have to write new class which implement CalculateExternalTaxesStrategy interface, the example is like 'MockCalculateExternalTaxesStrategy' , 'DefaultCalculateExternalTaxesStrategy' .

     <bean id="defaultCalculateExternalTaxesStrategy"
             class="de.hybris.platform.commerceservices.externaltax.impl.DefaultCalculateExternalTaxesStrategy"/>