Update contract header
Use case
In this example, we will review how to modify the tax exemption status and tax residency country assigned to an active deposit contract. These values are stored on the contract header level. After updating the contract header, these parameters will apply to all versions of the deposit contract.
The contract header is ID-1696407222.
See the find deposit contract page for more details.
...v2/contracts/ID-1696407222
We will change the tax residency country from Estonia to Germany.
"taxResidencyCountryCode": "DE"
We will set the tax exemption to true.
"taxExempt": "true"
Sample API call
To update the contract header, make the following API call.
deposit-api.sandbox.tuumplatform.com/
api/v2/contracts/{headerId}
Sample request
Below is an example request body of the API call for changing deposit contract payout details.
{
"taxResidencyCountryCode": "DE",
"taxExempt": "true"
}
Sample response
Below you find an example response body to the API call above.
Result
As a result, the tax residency country was updated and the tax exemption was set to true. The updated settings were applied to all existing deposit contract versions.
Last updated
Was this helpful?