Uploading bank statements is a three-step flow:
PUT /documents/bank-statements/presign,
providing each PDF file name (and optional external identifier).
The response includes presigned_url and path values for every
requested file.presigned_url using an HTTP PUT
request with Content-Type: application/octet-stream.path (and optional external_document_id) for every
uploaded file so Teal can extract and store the bank statement data.
The path values you submit must match the ones returned by the presign
step. Any files that failed validation or extraction are reported in the
bank_statement_errors array.Bearer token for authentication. The token should be the one returned by the /user-tokens endpoint.
Optional authorisation ID to associate with this request. If not provided, the system will attempt to resolve a valid authorisation for the user automatically.
"7f3b8c2a-1d4e-5f6g-7h8i-9j0k1l2m3n4o"
1