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
- Type: integercustomer
_account _id requiredCustomer account ID. Must match the signed-in account.
- Type: integerhouse
_account _invoice _id requiredInvoice ID
Headers
- Type: stringApplicationrequired
Application key for specific client app
- Type: stringA
P I - V E R S I O N requiredVersion of the API to be used
- Type: stringAuthorization
Authorization header
- Type: stringX
- Request - I D requiredUnique request identifier
Responses
- application/pdf
- 400
The PDF could not be generated.
- 401
Missing or invalid token, or the path account is not the signed-in account.
- 404
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