invoice > document

Get Payment Confirmation PDF

Generate a PDF of the payment confirmation for the invoice. This PDF is generated from the data in the invoice, not from the uploaded documents.

get/invoice/{invoiceId}/payment-confirmation/generate

Request

  • Base URL: https://api.mercoa.com
  • URL: https://api.mercoa.com/invoice/{invoiceId}/payment-confirmation/generate
  • Auth: HTTP bearer

Path parameters

invoiceIdstring required

Invoice ID or Invoice ForeignID

Response

Link to the PDF file. Will expire after 1 hour.

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.