Back to all APIs
VAT Calculator
Calculate UAE VAT with automatic rate detection
Category: FinanceEndpoint:
/v1/vat/calculateAvg Response
<50ms
Uptime SLA
99.99%
Free Tier
1,000/mo
Quick Start
JavaScript / TypeScript
javascript
import { KhaleejiAPI } from '@khaleejiapi/sdk'; const client = new KhaleejiAPI('your_api_key'); const result = await client.finance.calculateVAT({ amount: 100, country: 'AE'}); console.log(result);// {// country: "AE",// vatRate: 5,// baseAmount: 100,// vatAmount: 5,// totalAmount: 105,// currency: "AED"// }Python
python
from khaleejiapi import KhaleejiAPI client = KhaleejiAPI('your_api_key') result = client.finance.calculate_vat(amount=100, country="AE") print(f"Base: {result['baseAmount']} + VAT: {result['vatAmount']} = {result['totalAmount']} {result['currency']}")# "Base: 100 + VAT: 5 = 105 AED"cURL
curl
curl -X GET "https://khaleejiapi.dev/api/v1/vat/calculate?amount=100&country=AE" \ -H "x-api-key: your_api_key"Related APIs
Exchange Rates
Real-time and historical exchange rates for 50+ currencies
Public Holidays
GCC public holidays (2024–2027) with smart queries — check if a date is a holiday, get the next upcoming holiday, and filter by month or sector
Business Days Calculator
Calculate business days between dates for all GCC countries with holiday awareness