autotask_create_ticket_charge
Create a charge on a ticket for materials, costs, or expenses by specifying ticket ID, name, and charge type.
Instructions
Create charge on ticket for materials, costs, or expenses.
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": {
"ticketID": "<ticketID>",
"name": "<name>",
"chargeType": "<chargeType>"
},
"name": "autotask_create_ticket_charge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Charge name/title | |
| status | No | Charge status picklist ID | |
| ticketID | Yes | Ticket ID to add the charge to | |
| unitCost | No | Cost per unit | |
| productID | No | Associated product ID (optional) | |
| unitPrice | No | Price per unit | |
| chargeType | Yes | Charge type picklist ID (use autotask_get_field_info with entityType "TicketCharges" to find valid values) | |
| description | No | Charge description | |
| unitQuantity | No | Quantity of units | |
| billingCodeID | No | Billing code ID for categorization | |
| datePurchased | No | Date the charge was incurred (YYYY-MM-DD format) | |
| billableToAccount | No | Whether this charge is billable to the client (default: true) |