Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
You can check the way in which the tax service determines and calculates tax on sales or purchase transactionsby using the Tax Service Simulator. This application allows you to enter details of a product (such as the ID, shipping information, and exemption details), import data in JSON format and see the request payload that the service generates.
Below, you can see the steps to access the Tax Service Simulator and an example scenario.
note: Tax Service Simulator is not available for Brazilian scenarios.
Access Tax Service Simulator from your SAP Cloud Platform account
Login to your SAP Cloud Platform account.
In the platform's cockpit, go to Applications > Subscriptions.
In theHTML5Applications, choose thesimulationui application.
In the Tax Service Simulatorselection screen, you can define the business scenario you want to simulate.
Example: Here’s the scenario of a Canadian domestic sale of material from Alberta to Ontario:
ChooseSimulate.
Example: See below the tax results for this example business scenario.
ChooseShow Payload Response.
Result:You get a JSON response with exactly what the tax service sends back to your consuming application when it calls the tax service quote endpoint.
For this business scenario, the tax service responded as Regular HST Sales transaction, represented by taxcode511. In taxValues, only HST tax was returned, with taxTypeCode2 anddueCategory P, representing a payable position.
For more details about the tax service and how to test the service, have a look at the documentation in the SAP Help Portal.