Skip to main content
POST
/
v1
/
tax
/
estimate
curl --request POST \
  --url https://api.cadanapay.com/v1/tax/estimate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "countryCode": "QA",
  "type": "gross-to-net",
  "salary": {
    "amount": 1000000,
    "currency": "QAR"
  }
}
'
{
  "grossAmount": {
    "amount": 1000000,
    "currency": "QAR"
  },
  "netAmount": {
    "amount": 930000,
    "currency": "QAR"
  },
  "deductions": [
    {
      "name": "Social Insurance",
      "amount": {
        "amount": 70000,
        "currency": "QAR"
      }
    }
  ],
  "employerContributions": [
    {
      "name": "Social Insurance",
      "amount": {
        "amount": 140000,
        "currency": "QAR"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
countryCode
string
required

Country code for tax estimation

type
enum<string>
required

Type of estimation

Available options:
gross-to-net,
net-to-gross
salary
object
required
regionCode
string

Optional region/state code

Response

Estimate taxes response

grossAmount
object
required
netAmount
object
required
deductions
object[]
required
employerContributions
object[]
required