---
title: "Update Deposit Transaction Cost Basis"
method: PATCH
path: "/tax/accounts/{accountId}/transactions/{transactionId}"
tags: ["Tax Reporting"]
---

# Update Deposit Transaction Cost Basis

`PATCH /tax/accounts/{accountId}/transactions/{transactionId}`

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.

## Path parameters

- `accountId` string, required
- `transactionId` string, required

## Request body

- TaxTransactionUpdateCostBasisRequest — Request to update cost basis for a transaction
  - `lots` TaxTransactionInputLot[], required — An array of tax lots that are part of this transaction. Each lot specifies the quantity, cost basis and the acquisition date.
    - `acquisitionDatetime` string, date-time, required — ISO-8601 timestamp representing when this lot was originally acquired
    - `costBasis` string, required — The cost basis of this lot.
    - `quantity` string, required — The quantity of this lot.

## Response `200`

Successfully updated the transaction cost basis

- TaxTransactionUpdateCostBasisResponse — Response after updating transaction cost basis
  - `data` TaxTransactionUpdateCostBasisResponseId, required — Response data containing transaction ID
    - `transactionId` string, required — The unique identifier of the transaction

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden
- `404` — Not Found
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/anchorage/apis/anchorage-digital-api-reference.md) · [All operations](https://skmtc.net/anchorage/apis/anchorage-digital-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/anchorage/anchorage-digital-api-reference/revisions/166864b1ec6d/schema)
