POST
/
v0
/
receivable-adjustment-files
curl --request POST \
  --url https://api.sandbox.teal.dev/v0/receivable-adjustment-files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --header 'teal-instance-id: <teal-instance-id>' \
  --form 'receivable_adjustment_id=<string>' \
  --form 'file=<string>'
{
  "id": "CNmWM3X6AcvRdEwZKxq4bL",
  "file_name": "credit.pdf"
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

teal-instance-id
string
required

The Teal instance ID.

Body

multipart/form-data
receivable_adjustment_id
string
required

The receivable adjustment ID.

file
string
required

A file to be associated with the receivable adjustment.

Response

201 - application/json
id
string
required
file_name
string | null
required

The file name.