POST
/
account
/
{account_id}
/
tax_document
curl --request POST \
  --url https://api.treasuryprime.com/account/{account_id}/tax_document \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "1099",
  "year": "2024"
}'
{
  "account_id": "acct_2074732992",
  "is_correction": false,
  "status": "pending",
  "type": "1099",
  "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

Body

application/json
The account.tax_document.create to create
account_id
string
required

Account ID

type
string
required

Type of tax document. Only 1099 is currently supported

year
string
required

Tax document year in YYYY format.

is_correction
boolean

Boolean indicating whether the document to be created is a correction of the existing tax document for the account

Response

200 - application/json
The account.tax_document.create created
account_id
string

Account ID

id
string

Tax Document ID

is_correction
boolean

Boolean indicating whether the document to be created is a correction of the existing tax document for the account

status
string

Status of the tax document

type
string

Type of tax document. Only 1099 is currently supported

year
string

Tax document year in YYYY format.