POST
/
v1
/
businesses
/
{businessId}
/
bank-transactions
/
{transactionId}
/
documents

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string

Content-Type must be set to multipart/form-data

Path Parameters

businessId
string
required

The UUID of the business to upload the document for

transactionId
string
required

The UUID of the transaction to associate this document with

Body

multipart/form-data
file
file

The document file.

name
string

The name of the document.

type
string

The type of document. Supported types are jpg, png, and pdf.

Response

200 - application/json

Contains metadata about a file, including its type, name, and the category of document it represents.

documentType
enum<string>
required

The type of document.

Available options:
RECEIPT
filename
string
required

The name of the file including its extension.

fileType
string
required

The type of the file (e.g., PDF, DOCX, JPEG).

id
string | null

Optional unique identifier for the file, can be null if not specified.