Taxes | Tax Calculation
The Tax Calculation endpoint is used to calculate related tax amounts.(RESERVED FOR INTERNAL USE.).
Overview
URL | api/{tenantKey}/{orgKey}/taxesCore/taxCalculations |
Methods Supported | POST |
All Operations
This service includes the following operations:
- POST:
All Resources
This service uses the following resources:
POST Calculate Tax Info
Calculates all tax related amounts for a certain base amount, Tax Type Code and Document Date.
The following elements are required:
taxTypeCodeKey | (string) TheTaxType Code Key. |
currencyKey | (string) The Currency Key. |
documentDate | (DateTime?) The Document Date. |
amount | (decimal) The Calculated Amount. |
taxAmountRounding | (decimal) The. |
Response:
When successful, the response body contains a resource of type 'CalculatedTaxResource'. See CalculatedTaxResource. |
Resource URL:
api/{tenantKey}/{orgKey}/taxesCore/taxCalculations/calculateTaxInfo/{taxTypeCodeKey}/{currencyKey}
POST /taxesCore/taxCalculations/calculateTaxInfo/{taxTypeCodeKey}/{currencyKey}
Resources
CalculatedTaxResource
The following elements are required:
costAmount | (decimal) Represents the value of the Taxable Amount plus the Non-Deductible tax amount. |
taxableAmount | (decimal) The exact same amount as passed in the parameters. |
taxPercentage | (decimal) The tax percentage based on the document date. |
taxAmount | (decimal) The total tax amount based on the tax percentage. |
deductiblePercentage | (decimal) The deductible percentage based on the decoded tax percentage and document date. |
deductibleAmount | (decimal) The deductible tax amount based on the deductible percentage. |
nonDeductibleAmount | (decimal) The non deductible tax amount based on the deductible percentage. |
The following elements are optional:
reverseCharge | (bool) Reverse Charge. |