cURL
curl --request POST \ --url https://api.sandbox.teal.dev/v0/receivable-files \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --header 'teal-instance-id: <teal-instance-id>' \ --form 'ar_ledger_id=<string>' \ --form 'receivable_id=<string>'
{ "id": "CNmWM3X6AcvRdEwZKxq4bL", "file_name": "invoice.pdf" }
Create Receivable File
The access token received from the authorization server in the OAuth 2.0 flow.
The Teal instance ID
Successful Response
The response is of type object.
object