Inventory Lots and Summary for a Single Asset

Get a summary and list of undisposed lots for the given asset for a specific account. Either asset_id or asset_code must be provided. Lots are returned sorted according to the order in which the system disposes them (by highest cost for HIFO, earliest acquisition date for FIFO, latest acquisition date for LIFO, or lowest cost for LOFO).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Your system's unique identifier for the Account

string

The code/symbol of the asset (for example, 'BTC' for Bitcoin). Either asset_id or asset_code must be provided.

uuid

The Taxbit UUID of the asset. Either asset_id or asset_code must be provided.

boolean

If true, the summary for the asset is included in the response. Default is true.

integer

Number of results to return. Default is 25.

string
enum

The method used to order the items in the lots collection. If not provided, the system orders by the method for that account (either the Account or Payer default).

Allowed:
integer

Offset for paging through results. Default is 0.

number

The current price of the asset. If provided, unrealized gains data is returned.

Headers
uuid

The Taxbit UUID of the account. Ignored if account_id is specified.

Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json