Upload Attachment
Upload documents (scanned/uploaded PDFs and images) associated with this Invoice
Path parameters
invoiceId
Invoice ID or Invoice ForeignID
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
document
Base64-encoded string. Supported file types include PNG, JPG, WEBP, PDF, and all Microsoft Office formats (automatically converted to PDF). Max file size 10MB.
type
Specify Document Type, defaults to INVOICE