Capabilities

files.upload

Upload a receipt, invoice, or financial document for processing.

post/capabilities/files.upload

Request

  • Base URL: https://developer.api.receiptor.ai/v1
  • URL: https://developer.api.receiptor.ai/v1/capabilities/files.upload
  • Auth: one of:
    • API key in header x-receiptor-api-key
    • HTTP bearer

Request body

fileNamestring required

Original file name including extension

mimeType'image/jpeg' | 'image/png' | 'image/gif' | 'image/webp' | 'image/bmp' | 'image/tiff' | 'application/pdf' required

MIME type of the file

base64Datastring required

Base64-encoded file content

Response

Successful response

successboolean
codeinteger

Example response

{
  "success": true,
  "code": 200
}

Changes

No recorded changes to this operation across all 12 revisions of this API.