InvoiceDocument

Get Attachments

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

Path parameters

invoiceIdstringRequired

Response

This endpoint returns a list of objects
mimeType
string
uri
string
id
stringOptional
ID of the document. If not provided, this is a dynamic document that is generated on the fly.
GET
$curl https://api.mercoa.com/invoice/%3AinvoiceId/documents \
> -H "Authorization: Bearer <token>"
Response
1[
2 {
3 "mimeType": "string",
4 "uri": "string",
5 "id": "string"
6 }
7]