Skip to content

Add an attachment to an invoice

post
https://api.mercadoe.com/v1/invoices/{invoiceId}/attachments

Add a new attachment to a specific invoice by providing the invoice ID and the attachment file.

Request

Headers

X-ME-CORRELATION-ID
string
Internal client code to be identified in the webhook. It can be, for example, a product code in your ERP, an order number, etc.

Path Parameters

invoiceId
int32
required
The invoice ID

Body

multipart/form-data
file
binary

Responses

202
400
Accepted

Body

application/json
correlationId
string