Taxware Adapter Business Service

The Taxware Adapter Service business service:

  • Receives input from the Tax Calculator business service in XML format.

  • Passes the following information to Taxware:

    • Static information from the Tax - Configuration (Taxware) integration object

    • Dynamic information from the Tax Integration (Taxware Input) integration object

  • Receives information back from Taxware.

  • Passes XML data back to the Tax Calculator business service.

The Taxware Adapter Service consists of the following methods:

  • CalculateTax. This is the main method for calculating the tax. It converts the input XML string to a property set and calls the Taxware software to get the tax information as a property set. It then converts the tax information to an XML string as an output.

  • Initialize. This method uses the input property set to initialize the variables for the business service.

  • OpenClose. This method opens and closes files used by Taxware to calculate taxes.