GET
/
account
/
{account_id}
/
tax_document
/
{id}
curl --request GET \
  --url https://api.treasuryprime.com/account/{account_id}/tax_document/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "account_id": "acct_2074732992",
  "is_correction": false,
  "status": "pending",
  "type": "1099",
  "url": "https://api.treasuryprime.com/account/acct_2074732992/statement/file_11khr0vt3vrgb",
  "year": "2024"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

account_id
string
required

Account ID

id
string
required

Tax document ID

Response

200 - application/json
The account.tax_document
account_id
string

Account ID

id
string

Tax document ID

is_correction
boolean
status
string

Status of the statement

type
string

Type of statement. One of: 1099

url
string

URL to download the new statement

year
string

Statement year in YYYY format