Ramp icon

Ramp

Interact with the Ramp spend management API — built by SolutionLab

Actions36

Bill → Upload Attachment

AI-generated

Summary

Upload a file attachment to a finalized bill in Ramp by specifying the bill ID, the binary file property, and the attachment type.

Inputs

  • Bill ID (required) — The ID of the bill to which the attachment will be uploaded.
  • Binary Property (required) — The name of the binary property on the incoming item containing the file to upload.
  • Attachment Type — Selects the type of attachment; options are 'Invoice' or 'Other'. Note that only one 'Invoice' attachment is allowed per bill.

Output shape

a JSON object representing the uploaded attachment as returned by the Ramp API

Invokes a POST multipart/form-data API to upload the file to the endpoint /bills/{billId}/attachments with optional attachment type. The response is the API's JSON data for the uploaded attachment.

Links

Discussion