Skip to content

Fetch an accounting invoice PDF

Request

Fetches the linked invoice PDF from the connected accounting platform and attaches it to the Resolve invoice.

The invoice must already be linked to a record on the connected accounting platform. Once attached, the PDF is served with the invoice like any other invoice attachment.

Security
bearerAuth or basicAuth
Path
merchant_invoice_idstringrequired

ID of the invoice to fetch the accounting platform PDF for.

Example:RH5fF9aeQ
curl -i -X PUT \
  https://docs.resolvepay.com/_mock/merchant-api/openapi/external-syncs/invoices/RH5fF9aeQ/pdf \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

The request was accepted.

Bodyapplication/json
successbooleanrequired

Always true when the request was accepted.

Value:true
Example:true
Response
{ "success": true }