Tax Reporting
Update Deposit Transaction Cost Basis
Update the cost basis for a specific transaction. Allows customers to submit cost basis for assets that are deposited at Anchorage. Note, one deposit can contain up to 100 individual tax lots.
patch/tax/accounts/{accountId}/transactions/{transactionId}
Request
- Base URLhttps://api.anchorage-staging.com/v2
- AuthAPI key in header Api-Access-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
accountIdstring required
The ID of the tax account
transactionIdstring required
The ID of the transaction to update
Request body
Example request
{
"lots": [
{
"costBasis": "2500",
"quantity": "1.0"
}
]
}Response
Successfully updated the transaction cost basis
Example response
{
"data": {
"transactionId": "9cd9f4d4-078b-4e44-a308-7662fec0f546"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.