teamleader_subscriptions_create
Create a subscription to set up recurring invoicing for a customer. Specify billing cycle, start date, and line items.
Instructions
Create a new subscription. SIDE EFFECT: creates recurring invoicing for the customer.
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": {
"title": "<title>",
"customer_type": "<customer_type>",
"customer_id": "<customer_id>",
"department_id": "<department_id>",
"starts_on": "<starts_on>",
"billing_periods": "<billing_periods>",
"billing_unit": "<billing_unit>",
"line_items": "<line_items>"
},
"name": "teamleader_subscriptions_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Subscription title | |
| starts_on | Yes | Start date (YYYY-MM-DD) | |
| line_items | Yes | One or more line items for the subscription | |
| customer_id | Yes | Customer ID | |
| billing_unit | Yes | Billing cycle unit | |
| customer_type | Yes | Customer type | |
| department_id | Yes | Department ID | |
| billing_periods | Yes | Number of billing periods |