Payment terms harmoniser: supplier terms against your standard, cash tied up, discounts worth taking, baseline date and a letter to suppliers
harmonise_payment_termsTakes your supplier list (supplier, annual spend, payment terms as written such as 30 days net or 2% 10 days net 45, optional baseline date, category, size, exception) and a standard such as net 60. Returns per supplier the net days, the gap to the standard and the cash tied up (annual spend times gap divided by 365), the spend-weighted average terms today and after harmonising, the interest benefit at your cost of capital, discounts whose annual rate beats the cost of capital (take the discount instead of longer terms), suppliers whose period starts at the invoice date, exceptions such as taxes, payroll, rent and utilities, a fairness note for small suppliers, and a letter to suppliers in German or English. Red: large supplier at least 30 days below the standard. Not legal or tax advice. For a single discount deadline use check_discount_window. Licence, or one free check every 30 days.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rows": "<rows>"
},
"name": "harmonise_payment_terms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | One row per supplier: supplier, annual_spend, payment_terms (as written, e.g. '30 days net', '2% 10 days, net 45', 'net 60'), optional baseline (invoice date, invoice receipt, goods receipt), category, size (small), exception. German column names work too (lieferant, jahresvolumen, zahlungsbedingung, basisdatum, kategorie, groesse, ausnahme). | |
| language | No | Language of the answer. Default de. | |
| target_days | No | Your standard net days. Default 60. | |
| interest_rate | No | Cost of capital in percent a year, used for the interest benefit and the discount comparison. Default 5. |