Overview
Returns a presigned PUT URL so your server can upload an invoice directly to Yala’s private S3 bucket. Yala does not accept file bytes on this endpoint—only metadata (filename, contentType).
After uploading to S3, use the returned documentUrl on:
POST /initiateassupportingDocument, orPATCH /:id/documentsin thedocumentsarray
Read Uploading Supporting Documents for the full 3-step flow: call Yala, upload to S3, then call Yala again with
documentUrl.Upload flow (3 steps)
Request
Request Fields
Response
Response Fields
Upload the file to S3
Error Responses
400 Bad Request
Invalid filename or unsupportedcontentType.