Skip to main content
POST
Upload a file for an invoice
You can attach files to an invoice to provide supporting documentation for the financing transaction. The most common use case is uploading the actual PDF invoice document so that Tilta and the buyer have access to the official commercial invoice associated with the financed amount. Files are stored securely and linked to the invoice record. Uploads use multipart/form-data encoding – include both the file binary and a document type classification in the same request.
Do not set a Content-Type: application/json header on this request. The multipart/form-data content type is set automatically by your HTTP client when you include --form fields.
Upload the PDF invoice document immediately after creating the invoice to ensure Tilta has the supporting documentation available for the full financing lifecycle, including any potential disputes or audits.

Authorizations

Authorization
string
header
required

Your Tilta API key, sent as Bearer <key>.

Path Parameters

external_id
string
required

Unique identifier of an invoice.

Maximum string length: 100
Pattern: ^[a-zA-Z0-9-_]+$

Body

multipart/form-data
files
object
required
types
object
required

Response

The response is of type string.