Update Account’s Tax Exemption
The UpdateAccountTaxExemption
API in OCS.io allows for updating the tax exemption status of an account, ensuring compliance with tax regulations and providing flexibility for tax-related adjustments.
API Overview
Fields Required for Updating Account’s Tax Exemption
The following table lists and describes the fields required to update an account’s tax exemption through the UpdateAccountTaxExemption
API:
Field | Description |
---|---|
account |
ID (Ref ID / External ID) of the Account. |
taxExemption |
Indicates whether Account is subject to Tax exemption. |
taxResidence |
Tax Residence or the Payment Responsible Account. |
Detailed API documentation and endpoint specifics are available here. |
Request Validations
The following validations are performed when updating an account’s tax exemption:
-
Account must be provided in the request, it must be already created in the system and must not be in Deactivated State.
Update Account’s Tax Exemption Example
Use the following request’s body to update an account’s tax exemption:
{
"requestId": "{{$guid}}",
"account": {
"externalId": "account_external_id"
},
"taxExemption": true,
"taxResidence": "tax_residence"
}
The outcome of the API call is as follows:
-
It is validated that the account with External ID
account_external_id
exists. -
The account’s tax exemption status is updated as per the provided values.