Depending on applicable regulations or business limitations, specific API requests may not be available for your use.
Get a Closed Tax Lot
This request returns the information for a closed tax lot for an account. A closed tax lot represents a position of shares that have been sold from within a taxable account. The closed lot contains initial and adjusted purchase information, the holding period of the shares, and the realized gain or loss from the sale of the shares.
|HTTP Code Status
||Tax data is currently not available.
Response Data Fields
||The account number whose closed tax lot was requested.
||The number of the shares in the tax lot.
||The unit cost of a share at which the tax lot was relieved. For example, if a client sells 50 shares of security A at $10.00 per share, salePrice is $10.00.
||The proceeds from selling the tax lot. It is shareQuantity × salePrice.
||An indicator of whether the gain/loss for the tax lot is long-term or short-term. The available options are “SHORT_TERM”, “LONG_TERM”, and “UNKNOWN”.
||The quantity of shares without regarding wash sales.
||The gain/loss after taking into account wash sales.
||The trade date of the relieving transaction.
||The amount of federal tax already withheld from this lot’s closing transaction.
||The amount of state tax already withheld from this lot’s closing transaction.
||The amount of foreign tax already withheld from this lot’s closing transaction.
||The country to which foreignTaxWithholding applies.
||The state to which stateTaxWithholding applies.
||A Boolean indicator of whether the security is covered. “true” or “false”. Each security has a covered start data associated with it. Purchases prior to that security’s covered date or ones where we do not know the acquisition date will be uncovered. See What are covered and noncovered securities? for more information.
||A Boolean indicator of whether cost basis is known. A cost basis may not be known if this is an uncovered lot that is transferred in from other financial institution. The value is either “true” or “false”.
||The ticker of the security transacted in this tax lot.
||The CUSIP of the security.
||The unique identifier of the security.
||The transaction ID of the transaction that created the open lot.
||The transaction ID of the transaction that sells the shares bought by the originating transaction (originatingTransactionId).
||The adjusted cost basis of the closed lot, adjusted to account for various events such as stock splits, exchanges, return of capital transactions, and wash sales.
||The original unit price of the closed lot.
||The adjusted cost basis of the closed lot, adjusted for wash sales.
||The amount of loss disallowed due to wash sales.
||The original acquisition date. If there were wash sales, the adjusted acquisition date will be in adjustedAcquisitionDate. This field can be null.
||The cost of the lot at the time of purchase. If there were wash sales, the adjusted cost basis will be in adjustedCostBasis.
Status Code: 200 OK
Date: Wed, 18 Dec 2013 18:51:40 GMT
Server: Sun GlassFish Enterprise Server v2.1.1
"adjustedAcquisitionDate": "2013-05-10 T00:00:00.000-05:00",
"originalAcquisitionDate": "2013-05-10 T00:00:00.000-05:00",
- Updated text.
- Add error codes information.