GET Download House Account Invoice

​

Downloads the invoice as a PDF.

Unlike every other endpoint in this API, the success response is not JSON — it is the PDF file itself, sent as an attachment named invoice_{invoice_number}.pdf. Do not try to parse it as the usual status envelope. Errors, however, still come back as JSON.

Path Parameters

  • Customer account ID. Must match the signed-in account.

  • Invoice ID

Headers

  • Application key for specific client app

  • Version of the API to be used

  • Authorization header

  • Unique request identifier

Responses

  • application/pdf
  • The PDF could not be generated.

  • Missing or invalid token, or the path account is not the signed-in account.

  • No such invoice for this account.

Request Example for get/customer-accounts/{customer_account_id}/house-account-invoices/{house_account_invoice_id}/download
curl https://api-public-demo.menu.app/api/customer-accounts/9031/house-account-invoices/412/download \
  --header 'Application: application-key' \
  --header 'API-VERSION: ' \
  --header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937'
null