invoice > document

Upload Attachment

Upload documents (scanned/uploaded PDFs and images) associated with this Invoice

post/invoice/{invoiceId}/document

Request

  • Base URL: https://api.mercoa.com
  • URL: https://api.mercoa.com/invoice/{invoiceId}/document
  • Auth: HTTP bearer

Path parameters

invoiceIdstring required

Invoice ID or Invoice ForeignID

Request body

documentstring required

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'INVOICE' | 'PAYMENT_CONFIRMATION' | 'TEN_NINETY_NINE' | 'W9' | 'CHECK' | 'BANK_STATEMENT' | 'CONTRACT' | 'OTHER'

Response

Successful response

Changes

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