invoice > document

Get Attachments

Get attachments (scanned/uploaded PDFs and images) associated with this invoice

get/invoice/{invoiceId}/documents

Request

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

Path parameters

invoiceIdstring required

Invoice ID or Invoice ForeignID

Query parameters

type'INVOICE' | 'PAYMENT_CONFIRMATION' | 'TEN_NINETY_NINE' | 'W9' | 'CHECK' | 'BANK_STATEMENT' | 'CONTRACT' | 'OTHER'

Filter by document type

Response

Response with status 200

idstring

ID of the document. If not provided, this is a dynamic document that is generated on the fly.

mimeTypestring required
type'INVOICE' | 'PAYMENT_CONFIRMATION' | 'TEN_NINETY_NINE' | 'W9' | 'CHECK' | 'BANK_STATEMENT' | 'CONTRACT' | 'OTHER' required
uristring required

Changes

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