Attach documents to an invoice PDF

Embeds one or more files as attachments into an invoice PDF (visible in the Acrobat Attachments pane). For PDF/A-3 carriers (ZUGFeRD/Factur-X) the result stays PDF/A-3 conformant; the relationship defaults to Supplement.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
pdfstringRequired>=1 character

Base64-encoded carrier PDF to embed the attachments into

attachmentslist of objectsRequired
Files to embed into the PDF

Response

PDF with embedded attachments
successboolean
datastring

Base64-encoded result PDF with the attachments embedded

pdfA3Conformantboolean

True if the carrier was PDF/A-3 and conformance was preserved

attachmentCountdouble
Number of attachments embedded

Errors

400
Attachments Invoices Request Bad Request Error
403
Attachments Invoices Request Forbidden Error
413
Attachments Invoices Request Content Too Large Error
429
Attachments Invoices Request Too Many Requests Error