Tax integration
You can integrate WebSphere Commerce with a third-party tax calculation system to help build and maintain a highly secure e-commerce site with a worldwide tax calculation process. Use the tax integration feature and its tax integration API to help you integrate with a third-party tax calculation system. The tax integration API are a set of task commands that are called by the order component to communicate with the third-party tax calculation system when the tax integration feature is enabled.
Third-party tax calculation systems are expected to enable the integration by implementing the tax integration API. For example, Taxware, and its TaxwareLink package.
The tax integration feature
The tax integration feature is a set of calculation methods that can be plugged into the Calculation Framework to divert tax calculation to a third-party system by using the tax integration API. When the Calculation Framework requests a calculation of the tax amounts of an order and its order items, the calculation methods extract all information from the order that is relevant to the tax calculation. The framework then passes the information to the third-party tax calculation system by using the tax integration API. The Calculation Framework applies the tax amounts that are returned by the third-party tax calculation system to the order and its order items.
The tax integration feature can also request the third-party tax calculation system to audit tax during order processing.
- Open the Updating the WebSphere Commerce configuration file.
- Edit OrderSubSystem to enable the TaxAuditFlag. For example:
<InstanceProperties> ... ... <OrderSubSystem TaxAuditFlag="1"/> </InstanceProperties>
- Restart the server.