Submit previously uploaded bank statements for processing
Documents
Upload bank statements
Uploading bank statements is a three-step flow:
- Request upload slots with
PUT /documents/bank-statements/presign, providing each PDF file name (and optional external identifier). The response includespresigned_urlandpathvalues for every requested file. - Upload the PDF content to every
presigned_urlusing an HTTPPUTrequest withContent-Type: application/octet-stream. - Call this endpoint with the JSON payload returned in step one,
echoing the
path(and optionalexternal_document_id) for every uploaded file so Teal can extract and store the bank statement data. Thepathvalues you submit must match the ones returned by the presign step. Any files that failed validation or extraction are reported in thebank_statement_errorsarray.
PUT
Submit previously uploaded bank statements for processing
Documentation Index
Fetch the complete documentation index at: https://docs.goteal.co/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer token for authentication. The token should be the one returned by the /user-tokens endpoint.
Headers
Optional authorisation ID to associate with this request. If not provided, the system will attempt to resolve a valid authorisation for the user automatically.
Example:
"7f3b8c2a-1d4e-5f6g-7h8i-9j0k1l2m3n4o"
Body
application/json
Minimum array length:
1