This endpoint allows you to retrieve the calculated tax rate that is applicable to a particular transaction.

Property name

Type

Demo ID

id

string

7e047f3b-44c3-42c3-aa8b-774759aea48f

Request example

curl --request GET \
     --url https://api-demo.fonoa.com/Tax/v1/Calculations/7e047f3b-44c3-42c3-aa8b-774759aea48f \
     --header 'Accept: application/json' \
     --header 'Ocp-Apim-Subscription-Key: 8b144782eec54b159917c8c4a367d694'

❗️

We recommend using a 1000 ms delay between two identical GET requests.

To see a list of possible HTTP status codes, please click here.

Response example (200 OK)

{
  "uuid": "7e047f3b-44c3-42c3-aa8b-774759aea48f",
  "input": {
    "customer_country": "au",
    "supplier_country": "it",
    "transaction_value": 100,
    "transaction_service_category": "eservice",
    "transaction_service_sub_category": "digital_event_live",
    "transaction_date": "2021-10-14T05:12:31.000Z",
    "supplier_taxable": false,
    "sale_through_marketplace": true,
    "is_user_marketplace": true,
    "customer_taxable": false,
    "marketplace_country": "us"
  },
  "result": {
    "supplier_taxable": false,
    "transaction_taxable": true,
    "tax_logic_label": "Eservice - cross border - through marketplace - marketplace rules in customer country - customer not taxable - marketplace is user, place of supply = customer country",
    "transaction_jurisdiction": "au",
    "transaction_value_net": 90.91,
    "transaction_value_gross": 100,
    "tax_breakdown": [
      {
        "name": "GST",
        "rate": 0.1,
        "amount": 9.091
      }
    ],
    "tax_breakdown_label": "Tax applied: GST 10% (AUD 9.091)",
    "transaction_tax_amount": 9.09,
    "b2c_price_inclusive_tax": true,
    "transaction_effective_tax_rate": 0.1
  }
}

📘

Examples of the request and response

Examples of the request in more programming languages are available in the console pane on the right-hand side. After clicking on the 'Try it' button, you will get a response.

Language
Authentication
Header
URL
Click Try It! to start a request and see the response here!