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
$curl -X POST https://api.mercoa.com/invoice/%3AinvoiceId/document \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json" \
> -d '{}'