Skip to content

Ramp: Upload a file attachment to an existing bill — request body — body

Upload a file attachment to an existing bill: request body, field body. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Upload a file attachment to an existing bill — request body — body

FieldTypePresenceDescription and constraints
$objectRootPydantic input model for bill attachment upload
attachment_typestringRequired within parentType of attachment. Supported values: INVOICE, FILE. Set to ‘INVOICE’ for the actual invoice on a bill.
One of: EMAIL, FILE, INVOICE, VENDOR_CREDIT
fileobjectRequired within parentAdditional keys: not allowed
file.filenamestringRequired within parentMinimum length: 1
file.content_typestringRequired within parentMinimum length: 1
file.content_base64stringRequired within parent

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.