Tous les outils

Finance · parse_expense_receipt

Analyser un reçu

Montant, catégorie et TVA d'un reçu de frais.

Prix
usage IA du plan
Prérequis
Aucun connecteur
fonctionne sur les clés plateforme
Validation humaine
Non
lecture ou écriture interne

Entrée

ChampTypeDescription
receiptsarrayBatch: the FULL list of receipts to parse in one call (preferred whenever there is more than one). When provided, the top-level single fields are ignored.
receiptTextstringReceipt text or OCR output
employeeNamestringEmployee who submitted the expense (optional)
expenseDatestringExpense date override (ISO 8601, optional)
persistbooleanSave to the Ezyagents ledger (finance_transactions, source expense_receipt). Default: true when an amount was found. Idempotent on (date, merchant, amount).
merchantstringMerchant override when the text is ambiguous
amountnumberTotal amount override (positive number) when the text is ambiguous
categorystringCategory override (repas, transport, hébergement, fournitures, formation, véhicule, santé, divers)

Appeler cet outil

Via l'API HTTP, ou depuis le serveur MCP avec le méta-outil run.

curl https://api.ezyagents.fr/gateway/v1/run \
  -H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
  -d '{"tool":"parse_expense_receipt","input":{"receipts":[],"receiptText":"…","employeeName":"…","expenseDate":"…"}}'
$run({ "tool": "parse_expense_receipt", "input": {"receipts":[],"receiptText":"…","employeeName":"…","expenseDate":"…"} })