Check an invoice for UAE e-invoicing readiness
check_einvoicing_readinessUse this when the user asks whether an invoice has what UAE e-invoicing (PINT AE) needs, which fields are missing, or how to get their invoice data ready. A readiness check, not e-invoice validation: given an invoice's details, lists which PINT AE mandatory and conditional fields are present, missing or in the wrong format (seller and buyer legal name, TRN, company registration number from the trade licence or commercial registration, structured address with emirate code, country, invoice number, dates, currency and AED rate, unit codes, VAT category per line, totals that reconcile to the cent), with a plain-language fix for each. Only the accredited service provider validates the actual e-invoice. Use only details the user gave; leave out what they did not give rather than invent it, and the result will show it as missing. With a connected Fatura Go account, pass the invoice_id of a saved draft or invoice instead of the details to check that document. Do not use it for what a tax invoice must show under VAT law (tax_invoice_requirements) or for deadlines (einvoicing_timeline).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_einvoicing_readiness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyer | No | ||
| lines | No | ||
| seller | No | ||
| totals | No | The totals printed on the invoice, to check they reconcile. | |
| currency | No | ISO 4217, for example AED. | |
| due_date | No | YYYY-MM-DD. | |
| invoice_id | No | Connected Fatura Go account only: the id of a saved draft or invoice to check, instead of passing its details. | |
| issue_date | No | YYYY-MM-DD. | |
| business_id | No | Connected Fatura Go account only, with invoice_id. | |
| paid_in_full | No | true when nothing is due, so no due date is needed. | |
| document_type | No | Default: tax_invoice when the seller has a TRN, else commercial_invoice (out of scope of VAT). | |
| invoice_number | No | ||
| aed_exchange_rate | No | When the currency is not AED. |