companies_update
Update company configuration settings like contact info, bank details, and sync preferences, while official ANAF data remains synced from authoritative sources.
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.
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) | |
| archiveRetentionYears | No | Years to retain archived data (1-50) |