DotsDocs
Accounts payable

Upload file to the payable

Upload a file to be attached to the payable

POST
/v2/accounts-payable/payables/{payable_id}/file

Upload a file to be attached to the payable

Authorization

api_key
headerAuthorizationBasic <token>

Path Parameters

payable_id*string

The ID of the Payable

Request Body

application/json
  1. body
file*string
Formatbase64

Response Body

OK

application/json
  1. response
id?string

ID of the payable that was updated with the file.

updated?boolean

true if the payable was updated.

object?string

Type of the object that was updated.

Example Request
curl -X POST 'https://api.dots.dev/api/v2/accounts-payable/payables/string/file' \  -H 'Content-Type: application/json' \  -d '{  "file": "string"}'
Example Response
{  "id": "string",  "updated": true,  "object": "string"}