create_adjustment
Creates an adjustment header in a project so you can add line items separately for each entry.
Instructions
Create a new adjustment header within a project. To add line items, call create_adjustment_line_item for each line after this returns.
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": {
"collectionId": "<collectionId>",
"periodId": "<periodId>",
"adjustmentTypeId": "<adjustmentTypeId>",
"name": "<name>"
},
"name": "create_adjustment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Adjustment name | |
| number | No | Adjustment number or code | |
| periodId | Yes | The period this adjustment belongs to | |
| reference | No | Reference code or identifier | |
| description | No | Adjustment description | |
| collectionId | Yes | The project ID | |
| adjustmentTypeId | Yes | The ID of the adjustment type (foreign key). Use list_adjustment_types to look up valid IDs. | |
| isPreparedByClient | No | Whether this adjustment was prepared by the client |