Upload File to Storage
Last updated
Last updated
Upload file to AWS S3 Bucket using the pre-signed URL generated in the previous API.
PUT
{{PRE_SIGNED_URL}}
Parameter | Data Type | Field Validations | Description |
---|---|---|---|
There are no path parameters for this API.
There are no query parameters for this API.
Parameter | Data Type | Field Validations | Description |
---|---|---|---|
Success - HTTP Status Code - 200
Error - HTTP Status Code - 404
The presigned URL should be valid and not expired.
Currently, there are no known constraints.
If you are integrating with Max ITC, once the file is uploaded to storage, trigger the reconciliation using the Trigger MaxITC Workflow API.
Integrating for TDS?
If you are integrating with TDS, once the file is uploaded to storage, trigger the ingestion using the Trigger File Ingestion API.
HTTP Status Code | Description |
---|---|
Content-Type
String
Enum: application/vnd.ms-excel,
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Mandatory.
Content Type of the file being uploaded. For XLS or CSV, use application/vnd.ms-excel
For XLSX, use application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
file
File
File type: XLSX, XLS, CSV
MaxRows in CSV: 30 lakh. MaxRows in XLS, XLSX: 10 lakh.
The binary file to be uploaded. A file can be either sales, purchase or TDS deductions. Each row in the file represents an invoice line item. Sale Document Template Purchase Document Template
200
Successfully uploaded.
400
Bad request (also if the presigned url is expired)
403
Forbidden (if the presigned url is not valid)
404
Not found (if the path or resource does not exist)