Add or change a supplier
purchasing_save_supplierAdd a supplier, matched by name (any case), or change one by supplier_id (name then renames it): contact name, email (purchase orders are emailed there), phone, address, tax ID, the currency they bill in (default: the books' or the invoice profile's), payment terms in days (their bills fall due that long after their date; default 30), and account: the book account code their bills' lines go to by default (an expense or asset account, e.g. "6600"). iban and bic are where the business pays them: new or changed bank details always wait for a person other than the one asking (approval_required), because a changed account is how invoice fraud takes payments. Give only what changes. Archived suppliers take no new orders or bills. Costs $0.01 per call; nothing if it fails.
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": "purchasing_save_supplier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bic | No | ||
| iban | No | Their IBAN; spaces are fine. | |
| name | No | ||
| No | |||
| notes | No | ||
| phone | No | ||
| tax_id | No | ||
| account | No | A book account code, e.g. "6600"; "" clears it. | |
| address | No | Postal address, one line per row. | |
| country | No | Where they are, ISO 3166-1 like "FR": tells reverse-charge bills apart. | |
| archived | No | ||
| currency | No | ISO 4217, e.g. "EUR". | |
| terms_days | No | ||
| supplier_id | No | ||
| contact_name | No |