Check a UAE TRN and derive the Peppol endpoint
check_trnFormat check of a UAE Tax Registration Number (15 digits) and derivation of the TIN / Peppol participant identifier (scheme 0235 = first 10 digits). Free. Example: trn '100 1234 5670 0003'. Response: result with verdict (ACCEPTED | ACCEPTED_WITH_WARNINGS | REJECTED), findings[] (id, severity, message, fields, location, fix_hint, source = xsd | schematron | preflight), counts, ruleset version and timings, plus data_confidence, estimated_items[], sources[], data_version, warnings[] and a disclaimer. Documents are validated in memory and never stored or logged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"trn": "<trn>"
},
"name": "check_trn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trn | Yes | UAE Tax Registration Number as printed (spaces/dashes allowed). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||