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
| Champ | Type | Description |
|---|---|---|
| invoices | array | Batch: 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. |
| invoiceNumber | string | Invoice number to check |
| counterparty | string | Supplier or customer name |
| amountTtc | number | Total amount including VAT |
| issueDate | string | Invoice issue date (ISO 8601) |
| invoiceId | string | UUID 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} })