chercher_factures
Search invoices by partial number, approximate customer name, amount with tolerance, status, client code, or date range to test a hypothesis or find candidates when payment matching returns nothing.
Instructions
Recherche de factures avec filtres combinables. texte accepte un numéro complet ou partiel (F2026-0418, 418) ou un nom de client approximatif (recherche floue, alias compris). montant + tolerance pour chercher un montant proche. Renvoie numéro, client, dates, TTC, reste dû, taux d'escompte et statut. Utile quand rapprocher_paiement ne trouve rien ou pour vérifier une hypothèse.
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": "chercher_factures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| texte | No | Numéro de facture (même partiel) ou nom de client approximatif | |
| limite | No | ||
| statut | No | Défaut : toutes | |
| montant | No | Montant TTC ou reste dû recherché, en euros | |
| date_max | No | ||
| date_min | No | ||
| tolerance | No | Tolérance sur le montant, en euros (défaut 0,01) | |
| client_code | No | Code client exact, ex. C0042 |