Skip to main content
POST
/
v2
/
accounts-payable
/
payables
/
{payable_id}
/
file
Upload file to the payable
curl --request POST \
  --url https://api.dots.dev/api/v2/accounts-payable/payables/{payable_id}/file \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "file": "aSDinaTvuI8gbWludGxpZnk="
}
'
{
  "id": "<string>",
  "updated": true,
  "object": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://dotsdev.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

payable_id
string
required

The ID of the Payable

Body

application/json
file
file
required

Response

200 - application/json

OK

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.