Parse Turkish e-Fatura (UBL-TR XML)
parse_efaturaReads one Turkish e-invoice (e-Fatura/e-Arşiv, UBL-TR 1.2 XML) and returns invoice number, ETTN, dates, supplier/customer (name, VKN/TCKN, tax office), lines, taxes (KDV, ÖTV), withholdings (tevkifat), totals, and a list of consistency checks. Costs $0.01 per successfully parsed invoice; failed parses are free. Provide either xml (raw text) or xmlBase64.
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": "parse_efatura"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | No | Invoice XML as text | |
| xmlBase64 | No | Invoice XML file as base64 (use for non-UTF-8 files) |