Bills

Create Bill Invoice Upload URL

Returns a short-lived upload URL for the bill's own invoice. Upload the file to it, then POST /bills/{bill_id}/invoice to attach it — the same two steps as the supporting-documents endpoints. The invoice is what an international wire files as proof of the payment and what the accounting integrations attach, so a bill that will be paid abroad should carry one.

post/bills/{bill_id}/invoice/presigned-url

Request

Path parameters

bill_idstring uuid required

The bill ID.

Headers

x-entity-idstring uuid

Optional entity_id to scope requests to a specific entity.

Request body

filenamestring required

Name to store the document under, shown alongside the bill.

content_typestring required

MIME type of the file. Only PDF, JPEG, PNG, HEIC, and DOCX are accepted.

sizeinteger required

Size of the file in bytes. Must be between 1 KB and 50 MB, and must match what you actually upload — the upload URL enforces the same range.

Response

Successful Response

Changes

No recorded changes to this operation across all 1 revision of this API.