POST Upload Tax Exemption Certificate File
Uploads the supporting document for the certificate, as multipart/form-data with a single file part.
Accepted file types are pdf, png, jpg and jpeg, up to 10 MB. The check is on the file extension, not the content type.
Uploading replaces any document already attached and moves the certificate to awaiting review (status 2).
Path Parameters
- Type: integercustomer
_account _id requiredCustomer account ID. Must match the signed-in customer.
Headers
- Type: stringAcceptrequired
Type of content accepted by the API (application/json in most cases)
- 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
Body
Responses
- application/json
- 400
No
filepart was sent, the extension is not allowed, or the file is larger than 10 MB. - 401
Missing or invalid token, or the path account is not the signed-in account.
- 404
The account has no tax exemption certificate yet - create it first.
curl https://api-public-demo.menu.app/api/customer-accounts/9031/tax-exemption-certificate/file \
--request POST \
--header 'Accept: application/json' \
--header 'Application: application-key' \
--header 'API-VERSION: ' \
--header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937' \
--header 'Content-Type: multipart/form-data'
{
"status": "OK",
"code": 200,
"data": {
"file": {
"id": 901,
"type_id": 7,
"extension": "pdf",
"filesize": 184320,
"url": "https://files.example.com/tax/abc.pdf",
"created_at": "2026-09-19 10:00:00",
"updated_at": "2026-09-19 10:00:00"
}
}
}