POST /api/v202506/bill/{billId}/billImage

Uploads a bill image file and associates it with a specific bill

UploadBillImageV202506 Permissions: BillsAndBatches (Create)
Use this endpoint to attach a scanned or photographed bill image to an existing bill. The file extension must match the allowed extensions configured in the ‘webbillimageext’ system data setting. Maximum file size is 50MB. Send the file as raw binary with Content-Type: application/octet-stream.

Request Headers

Header Value Required Description
ECI-ApiKey string Yes Your API key. See Authentication.
Content-Type application/json Yes All requests must specify JSON content type, including the request body.

Path Parameters

Name Description Type Required
billId Unique numeric identifier of the bill to attach the image to integer (int32) Required

Query Parameters

Name Description Type Required
fileName The original filename including extension (e.g., “invoice-2024.pdf”) string Optional

Request Body

Type: string

Example Request Body application/json
"string"

Responses

200 OK The request succeeded and the response body contains the requested data.

Response Body Parameters

Type: string

Example Response application/json
"string"