v1

latestOpenAPI 3.0.02026-07-2422987517.5 KB
Payable

Upload documents to a payable

Attaches one or more files as user documents on the payable. Send the files under the files key (single file or array) as multipart/form-data. Invalid attachments are rejected and purged, returning 422.

This endpoint skips user authentication so a provider (via the portal) can upload supporting documents; it is scoped by the payable id in the path, not by the company.

post/v1/erp/payouts/payables/{payable_id}/user_documents

Path parameters

payable_idstring required

The id of the payable

Response

The last attached document.

idstring uuid
namestring

The attachment name (always user_documents).

record_typestring
record_idstring uuid
blob_idstring uuid
created_atstring date-time