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

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

Headers

  • Type of content accepted by the API (application/json in most cases)

  • Application key for specific client app

  • Version of the API to be used

  • Authorization header

  • Unique request identifier

Body

required
application/json

Responses

  • application/json
  • No file part was sent, the extension is not allowed, or the file is larger than 10 MB.

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

  • The account has no tax exemption certificate yet - create it first.

Request Example for post/customer-accounts/{customer_account_id}/tax-exemption-certificate/file
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"
    }
  }
}