cURL
curl --request GET \ --url https://api.treasuryprime.com/account/{account_id}/tax_document/{id} \ --header 'Authorization: Basic <encoded-value>'
{ "account_id": "<string>", "id": "<string>", "is_correction": true, "status": "<string>", "type": "<string>", "url": "<string>", "year": "<string>" }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Account ID
Tax document ID
The account.tax_document
Status of the statement
Type of statement. One of: 1099
1099
URL to download the new statement
Statement year in YYYY format
YYYY
Was this page helpful?