companies_update
Updates a company's editable settings—contact info, bank details, sync options, enabled modules, and automatic overdue reminder steps—while leaving ANAF-synced core data unchanged.
Instructions
Update configuration settings for a company. Note: core ANAF data (CIF, registration number, VAT status, official address) cannot be modified as they are synced from official ANAF sources. Only editable fields like contact info, bank details, and sync settings can be changed. Also sets the automatic overdue reminders: overdueRemindersEnabled turns them on, overdueReminderSteps sets when each email goes out and what it says. A step is sent on its day or up to 2 days late, never later, so turning the reminders on does not email clients about invoices that are long overdue. Exclude one client with clients_update (overdueRemindersDisabled) or one invoice with invoices_overdue_reminders.
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": {
"uuid": "<uuid>"
},
"name": "companies_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Company display name | |
| uuid | Yes | Company UUID | |
| No | Contact email address | ||
| phone | No | Contact phone number | |
| bankBic | No | BIC/SWIFT code | |
| bankName | No | Bank name | |
| bankAccount | No | IBAN account number | |
| syncDaysBack | No | Number of days to sync back from ANAF (1-365) | |
| archiveEnabled | No | Enable automatic archiving | |
| enabledModules | No | Array of enabled module keys for sidebar visibility (null = all enabled). Valid keys: delivery_notes, receipts, proforma_invoices, recurring_invoices, reports, efactura, spv_messages | |
| defaultCurrency | No | Default currency code (e.g., "RON", "EUR") | |
| efacturaDelayHours | No | Hours to delay e-Factura sync (0-72) | |
| overdueReminderSteps | No | Reminder steps, 1 to 5. null restores the default steps (3, 7 and 14 days). Subject and body take the variables [[client_name]], [[invoice_number]], [[total]], [[balance]], [[currency]], [[due_date]], [[issue_date]], [[days_overdue]], [[company_name]], [[client_outstanding]] | |
| archiveRetentionYears | No | Years to retain archived data (1-50) | |
| overdueRemindersEnabled | No | Turn the automatic overdue reminders on or off (default off). When on, the client of each overdue, unpaid issued invoice gets one email per reminder step |