InvoiceDocument

Upload Attachment

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

Path parameters

invoiceIdstringRequired

Request

This endpoint expects an object.
document
stringOptional
Base64 encoded image or PDF of invoice document. PNG, JPG, and PDF are supported. 10MB max.
POST
1curl -X POST https://api.mercoa.com/invoice/:invoiceId/document \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{}'