Upload file
POST/api/v1/invoice-bulk-upload
To upload bulk or scheduled invoices instantly and deliver them via SMS
📥 Download sample bulk invoice file: Click here to download
📥 Download sample scheduled invoice file: Click here to download
🔋 Sample Request Payload
{
"merchantCode": "842217", // Pass merchant code
"isScheduled": "false", // "false" for bulk or "true" for scheduled
"fileType": "csv", // Eg: csv or xlsx
"invoices": base64value // Pass base 64 file format value
}
🎯 Note: Payload must be encrypted before being sent to the server. To access the response data, decrypt it upon receiving the response from the server
⚡️ Payload details
Field Name | Description | Required |
---|---|---|
merchantCode | Pass the merchant code | ✅ Yes |
isScheduled | Pass the invoice type "false" if it is bulk and Pass the invoice type "true" if it is scheduled | ✅ Yes |
fileType | Pass the invoice type "csv" or "xlsx" | ✅ Yes |
invoices | Pass the file data in base 64 format | ✅ Yes |
Request
Responses
- 200
- 404
- 500
Bulk invoice file uploaded successfully. Decrypt the server response to view the result.
Not able to upload the file, Unauthorized or Permission Denied
Internal Server Error – An unexpected error occurred on the server while processing the request. This may be due to a temporary issue or a server-side malfunction. Please try again later or contact support if the issue persists.