transactions

Add a transaction receipt

Changed on

Add a receipt to an existing transaction.

In the request, use the same upload url that you used to upload the receipt image. See Create a transaction upload URL to learn about creating a transaction image upload URL.

post/v3/spend/transactions/{transactionId}/receipts

Request

  • Base URL
    https://gateway.stage.bill.com/connect
  • URL
    https://gateway.stage.bill.com/connect/v3/spend/transactions/{transactionId}/receipts
  • Auth
    none declared

Path parameters

transactionIdstring required

BILL-generated ID or UUID of the transaction

Example:{{se_transaction_uuid}}

Headers

apiTokenstring nullable

Access token for Spend & Expense API authentication

Example:{{api_token}}

Request body

urlstring required

Uploaded receipt URL

Example request

{
  "url": "{{se_transaction_url}}"
}

Response

Add a transaction receipt response

urlstring required

Uploaded receipt URL

filenamestring required

Receipt file name

uuidstring required

BILL-generated UUID for the receipt image

Changes

    • breaking

      the response's body type changed from object to array for status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status