---
title: "Validate MENA VAT & Tax Number API"
slug: validate-mena-tax-number
url: https://apyhub.com/odelyo/service/validate-mena-tax-number
provider: Odelyo
categories: [Verification Kit]
tags: [vat-validation, tax-number, trn, mena]
auth: api_key
version: 1.0.0
service_type: sync
endpoints: 1
atoms: 10
mcp: true
---

# Validate MENA VAT & Tax Number API

VAT number validation API for Saudi Arabia, UAE, Egypt, Bahrain and Oman. Check a VAT or tax number by format and get problem codes. Free tier, no card.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/odelyo/validate-mena-tax-number/tax-numbers` | What it does Validates a VAT or tax number for the specified country and returns a JSON object cont… | 10 |

## Endpoint reference

### VAT and Tax Number

`POST https://api.eu.apyhub.com/odelyo/validate-mena-tax-number/tax-numbers` · 10 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `value` | body | string | yes |  |
| `country` | body | string | yes | One of: SA, AE, EG, BH, OM. |

#### Quickstart

Validate a value for one of the supported MENA countries.

```bash
curl -X POST "https://api.eu.apyhub.com/odelyo/validate-mena-tax-number/tax-numbers" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"value":"300000000000003","country":"SA"}'
```

#### What you'll get back

Returns a JSON object with `data` (the validation result) and `meta` (request id and version). Below is the real response for the request above.

```json
{
  "data": {
    "valid": true,
    "input": "300000000000003",
    "normalized": "300000000000003",
    "problems": [],
    "country": "SA",
    "rule": "Saudi VAT number: 15 digits, starts and ends with 3"
  },
  "meta": {
    "request_id": "req_b9040f38e912bed1",
    "version": "v1"
  }
}
```

## About

## What it does

The VAT number validation API checks VAT and tax registration numbers from five countries. Send the number in `value` and the country in `country`, and get back `valid`, the cleaned-up number and the rule that was applied.

The supported countries are Saudi Arabia (SA), the UAE (AE), Egypt (EG), Bahrain (BH) and Oman (OM). Each country has its own rule. A Saudi VAT number has 15 digits and starts and ends with 3. A UAE TRN has 15 digits and starts with 100. An Egyptian tax registration number has 9 digits.

Spaces, dashes and Arabic-Indic digits are cleaned up first. Failed checks return `valid: false` with codes such as `invalid_format`, and the `rule` field explains what was expected.

Teams use the VAT number validation API on B2B checkout and invoicing forms, supplier onboarding and e-invoicing data checks.

This is a format check. It does not confirm that the number is registered with the tax authority.

For European VAT numbers, use the [VAT Validation API](https://apyhub.com/apyhub/service/validate-vat-number). To check many numbers at once, use the [Batch Validate MENA IDs API](https://apyhub.com/odelyo/service/mena-id-and-data-validation-api).

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/odelyo/service/validate-mena-tax-number
