uae-einvoice-mcp
v0.2.2UAE e-invoicing MCP: TIN/TRN, 51-field checklist, scope, UBL XML, PINT AE Schematron.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
lookup_business_trn
Validate a UAE Tax Registration Number (15-digit TRN, 1…03) or Tax Identification Number (10-digit TIN, 1…): PINT AE format rules, Peppol AE:TIN check digit (warning only), and derived Peppol participant ID (0235:TIN). Does not call the live FTA register.
| Parameter | Type | Description |
|---|---|---|
taxId * | string | 15-digit TRN or 10-digit TIN (spaces/dashes allowed) |
check_invoice_compliance
UAE e-invoice JSON checks: MoF mandatory field gaps plus PINT AE arithmetic (line net, tax breakdown, totals), tax ID formats and TIN/TRN consistency. Returns errors and warnings with the PINT AE rule ID where one exists.
| Parameter | Type | Description |
|---|---|---|
invoiceData * | object |
check_pint_ae_fields
Evaluate invoice JSON against the MoF mandatory fields list v1.0 — 51 fields for tax invoices/credit notes (380/381), 49 for commercial invoices (480/81) — plus conditional PINT AE fields (UUID, AED totals, flags, credit note reason…). Per-field status present/derived/missing/invalid/not_applicable with PINT AE term, XML path and rule IDs.
| Parameter | Type | Description |
|---|---|---|
invoiceData * | object |
generate_pint_ae_xml
Generate a UBL 2.1 PINT AE Invoice/CreditNote from invoice JSON (UUID, transaction flags, payment means, emirate codes, legal registration, price details, AED line amounts). Runs the MoF field checklist first; with strict=true refuses to emit XML when fields are missing.
| Parameter | Type | Description |
|---|---|---|
invoiceData * | object | |
strict | boolean | If true, do not generate XML when checklist has gaps (default false) |
validate_pint_ae_xml
Validate a UBL Invoice or CreditNote against the official PINT AE 1.0.4 Schematron (shared PINT rules + UAE rules) published by OpenPeppol. Returns failed rule IDs, messages and XPath locations. First call downloads and compiles the rules (~5 s); later calls take milliseconds. Does not perform XSD schema or signature validation.
| Parameter | Type | Description |
|---|---|---|
path | string | Path to an XML file (alternative to xml) |
xml | string | The XML document text |
get_einvoicing_requirements
Return the UAE e-invoicing mandate timeline, excluded transactions (MD 197 of 2026), recent amendments, technical baseline (PINT AE / Peppol / ASP), and next actions. Optional annual revenue (AED) auto-selects large vs SME.
| Parameter | Type | Description |
|---|---|---|
annualRevenueAed | number | If set with businessType all/omitted, selects large (≥50M) vs sme |
businessType | string | Defaults to all |
check_einvoicing_scope
Decide whether a UAE supply must be e-invoiced: B2B/B2G/B2C, intra-Tax-Group (24-month exclusion from 1 Jan 2027), sovereign government, air passenger/cargo, or VAT-exempt/zero-rated financial services. Returns verdict, dates, and whether voluntary issuance is allowed.
| Parameter | Type | Description |
|---|---|---|
transactionKind * | string | Supply type to evaluate |
annualRevenueAed | number | Seller annual revenue; selects large (≥50M) vs SME dates |
asOf | string | ISO date YYYY-MM-DD; defaults to today |
entityType | string | Defaults to business |