transactions

Create a transaction upload URL

Changed on

Create a transaction image upload URL.

From the response, use the upload url to upload a receipt image for the transaction. For example, to upload a JPEG image, use the following curl command. To upload a PNG image, set the content type as image/png.

curl '{upload_url}'
-H 'Content-Type: image/jpeg'
--upload-file {file_name_with_extension}

Note: BILL supports JPG and PNG file formats for transaction images.

See Transactions in the Guides section for more information, sample requests, and responses.

post/v3/spend/transactions/receipt-upload-url

Request

  • Base URL
    https://gateway.stage.bill.com/connect
  • URL
    https://gateway.stage.bill.com/connect/v3/spend/transactions/receipt-upload-url
  • Auth
    none declared

Headers

apiTokenstring nullable

Access token for Spend & Expense API authentication

Example:{{api_token}}

Response

Create a transaction upload URL response

urlstring

Pre-signed URL for uploading a receipt

Changes