update_item
Modify an existing Fakturia billing item using PUT semantics. Include all fields to preserve, optionally reassign its category, and receive the updated item object.
Instructions
Update an existing item in Fakturia. Uses PUT semantics so omitted fields may be reset to defaults — include all fields you want to preserve. Optionally change the item category by specifying itemCategoryName. Returns the updated item object.
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": {
"itemNumber": "<itemNumber>"
},
"name": "update_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name of the item shown on invoices and in the UI. | |
| unit | No | Unit of measure for the item (e.g. "piece", "hour", "license", "month"). | |
| prices | No | List of prices for the item. Each price specifies a cost, currency, and optionally a validity date and minimum quantity tier. | |
| itemNumber | Yes | The unique item number (SKU) of the item to update. | |
| description | No | Plain-text description of the item. | |
| customFields | No | Custom fields as key-value pairs for storing additional metadata on the item. | |
| nameInternal | No | Internal name for the item, used for internal reference only and not shown on invoices. | |
| htmlDescription | No | HTML-formatted description of the item, used where rich text is supported. | |
| itemCategoryName | No | Name of the item category to assign this item to. The category must already exist in Fakturia. |