clients_update
Update an existing client by UUID, changing only the fields you provide. Correct or refine client details in Storno CLI.
Instructions
Update an existing client by UUID. All fields are optional — only the provided fields will be updated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cnp | No | Personal numeric code / CNP (for individual type) | |
| cui | No | Company tax ID / CUI (for company type) | |
| city | No | City | |
| name | No | Client name (company or individual full name) | |
| type | No | Client type: "company" or "individual" | |
| uuid | Yes | Client UUID to update | |
| No | Client email address | ||
| notes | No | Internal notes about the client | |
| phone | No | Client phone number | |
| county | No | County / state | |
| status | No | Partner rule: active (default), warning (a notice is shown when the client is picked on an invoice) or blocked (the client cannot be invoiced — issue is refused) | |
| address | No | Street address | |
| country | No | ISO 3166-1 alpha-2 country code | |
| vatCode | No | VAT registration code (e.g., RO12345678) | |
| bankName | No | Bank name | |
| currency | No | Preferred currency for this client (ISO 4217, e.g., EUR, USD, RON) | |
| idNumber | No | Client identification number (personal ID, passport, etc.) | |
| companyId | No | Company UUID override (uses active company if not set) | |
| affiliated | No | Affiliated party — D394 sets prsAfiliat = 1 when an affiliated partner appears on an invoice of the period | |
| isVatPayer | No | Whether the client is registered for VAT | |
| postalCode | No | Postal / ZIP code | |
| bankAccount | No | IBAN or bank account number | |
| creditLimit | No | Partner rule: maximum outstanding balance in the company currency; issuing an invoice that would exceed it returns a `warning` (never a refusal). null removes the limit | |
| contactPerson | No | Name of the primary contact person | |
| registrationNumber | No | Trade registry number (e.g., J40/1234/2020) | |
| defaultPaymentTermDays | No | Default payment term in days for invoices issued to this client |