PortfolioLinkApi

<back to all web services

GetRaTaxInfo

The following routes are available for this service:
All Verbs/tax/ra
GetRaTaxInfo Parameters:
NameParameterData TypeRequiredDescription
IncomequerydoubleNo
PensionFundContributionsquerydoubleNo
DonationsquerydoubleNo
AgequeryintNo
GetRaTaxInfoResponse Parameters:
NameParameterData TypeRequiredDescription
IncomeformdoubleNo
PensionFundContributionsformdoubleNo
TaxPayableformdoubleNo
NetIncomeAfterContributionsformdoubleNo
TaxBracketformTaxBracketNo
ContributionsVolformdoubleNo
TaxPayableVolformdoubleNo
NetIncomeVolformdoubleNo
TaxBracketVolformTaxBracketNo
TaxBracket Parameters:
NameParameterData TypeRequiredDescription
LowerformdecimalNo
UpperformdecimalNo
RateformdecimalNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /tax/ra HTTP/1.1 
Host: api.portfoliolink.co.za 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"income":0,"pensionFundContributions":0,"donations":0,"age":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"income":0,"pensionFundContributions":0,"taxPayable":0,"netIncomeAfterContributions":0,"taxBracket":{"lower":0,"upper":0,"rate":0},"contributionsVol":0,"taxPayableVol":0,"netIncomeVol":0,"taxBracketVol":{"lower":0,"upper":0,"rate":0}}