Skip to main content
GET
/
account
/
{account_id}
/
tax_document
/
{id}
Get Tax Document
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

error
string

Error message describing why a tax document failed

id
string

Tax document ID

is_correction
boolean
skip_tin_verification
enum<string>

Boolean indicating whether TIN verification should be skipped when filing the tax document. Defaults to false. When tax filing is triggered, TIN verification is run before the document is sent to the agency for filing. TIN verification checks that the TIN and name of the payee on tax document match to avoid failures after sending to the IRS. TIN verification typically takes 24 hours. When this flag is true, TIN verification is skipped when filing the document

Available options:
true,
false
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