Skip to main content
POST
Add an estimate PDF attachment
Send the PDF as the file part of a multipart request with a title field. The response contains the uploaded file under attachment. You need invoice-module write access. You can attach up to ten PDFs to a quote. Each file may be at most 10 MiB (10,485,760 bytes). Infinity checks the actual file contents and rejects PDFs whose pages cannot be rendered. Issued quotes use the same attachment editability rules as invoices: they must have no payments, must not be annulled, must belong to an editable fiscal year, and must be outside settled VAT periods. Draft attachments remain editable. Attachments added through the API also appear in the quote editor and generated estimate PDF.

Authorizations

x-api-token
string
header
required

API token for authentication. Obtain from your Infinity account settings.

Path Parameters

estimateId
string
required

Body

multipart/form-data
file
file
required

A valid PDF file. Its actual contents determine its type.

title
string
required

Required upload title. The attachment name comes from the file's original filename.

Response

The uploaded attachment.

attachment
object
required