Skip to content

Export Tax Data

Request

Exports certified W-9 tax data for the requested scope as a password-protected, AES-encrypted ZIP containing a CSV. The only endpoint that egresses TINs; every call is written to the durable tax data access log.

Security
oauth2(Required scopes: tax:manage)
Bodyapplication/jsonrequired
scopestring(TaxExportScope)
Enum:"Distribution""DateRange""Beneficiary"
distributionIdstring or null, (uuid)

The distribution whose completed W-9 records to export. Required when scope is Distribution.

fromstring or null, (date-time)

Inclusive start of the fulfillment-date range (UTC instant). Required when scope is DateRange.

tostring or null, (date-time)

Inclusive end of the fulfillment-date range (UTC instant). Required when scope is DateRange.

payoutInstructionIdstring or null, (uuid)

The payout instruction whose W-9 record to export. Required when scope is Beneficiary.

includeNotFulfilledPayoutsboolean

Include payout instructions that were never fulfilled. Default false; ignored for DateRange.

zipPasswordstringrequired

Password used to AES-encrypt the returned ZIP. Minimum 12 characters, must include an uppercase letter, a lowercase letter, a digit, and a special character. Never stored.

curl -i -X POST \
  https://docs.talli.ai/_mock/referencev3/swagger/v3/distribution-manager/reports/tax/export \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "scope": "Distribution",
    "distributionId": "3791a3de-f2a8-465d-97da-4d8e0a9d3194",
    "from": "2019-08-24T14:15:22Z",
    "to": "2019-08-24T14:15:22Z",
    "payoutInstructionId": "50bfd130-22aa-4d88-8f54-fdfd65edbebb",
    "includeNotFulfilledPayouts": true,
    "zipPassword": "string"
  }'

Responses

OK

Bodyapplication/zip
string, (byte)
Response
string