Skip to main content
Glama
iMark21

AEAT MCP Server

by iMark21

validate_tax_id

Verify Spanish tax ID numbers (NIF, NIE, CIF) for individuals and companies using official algorithms. Returns validity, type, and formatted value.

Instructions

Validates a Spanish tax identification number. Supports NIF (individuals, 8 digits + letter), NIE (foreign residents, X/Y/Z + 7 digits + letter), and CIF (companies, letter + 7 digits + control). Returns validity, type detected, and formatted value. Source: Ministerio del Interior (NIF/NIE algorithm), Real Decreto 1065/2007 (CIF).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesTax ID to validate (NIF, NIE, or CIF)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/iMark21/aeat-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server