document_series_update
Update an existing document series by changing its current number or active status; deactivate series at fiscal year end or adjust numbering while avoiding duplicate document numbers.
Instructions
Update an existing document series. Only "currentNumber" and "active" can be changed — prefix and type are immutable after creation. Use active=false to deactivate a series (e.g., at end of fiscal year). Changing currentNumber affects the next document number, use with extreme caution to avoid duplicates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Document series UUID to update | |
| active | No | Set series active or inactive (inactive = not available for new documents) | |
| companyId | No | Company UUID override (uses active company if not set) | |
| currentNumber | No | Update the last used number (CAUTION: setting lower than max existing number may create duplicates) |