Tous les outils

Finance · detect_duplicate_invoice

Détecter un doublon

Détecte si une facture est un doublon.

Prix
inclus
Prérequis
Aucun connecteur
fonctionne sur les clés plateforme
Validation humaine
Non
lecture ou écriture interne

Entrée

ChampTypeDescription
invoicesarrayBatch: the FULL list of invoices to check in one call (preferred whenever there is more than one). When provided, the top-level single fields are ignored.
invoiceNumberstringInvoice number to check
counterpartystringSupplier or customer name
amountTtcnumberTotal amount including VAT
issueDatestringInvoice issue date (ISO 8601)
invoiceIdstringUUID of the row being checked (from parse_invoice) — excluded from the search so it is not reported as its own duplicate; gets flagged if a duplicate is found.

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":"detect_duplicate_invoice","input":{"invoices":[],"invoiceNumber":"…","counterparty":"…","amountTtc":1}}'
$run({ "tool": "detect_duplicate_invoice", "input": {"invoices":[],"invoiceNumber":"…","counterparty":"…","amountTtc":1} })