Add line items to a job
add_line_itemsAdd billable services or products to an existing scheduled job, using catalog items or stated prices to update the job's invoice.
Instructions
Add billable line items to an EXISTING job. Use when the user wants to add services/products to a job that's already scheduled (e.g., 'add a $50 cable management charge to the Smith job'). For brand-new jobs, use create_job with lineItems instead. Pass unitPrice when the user states a price; omit it to fall back to catalog matching by name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | No | Exact job ID. Only use if you have it. | |
| lineItems | Yes | Line items to add to the job. Include one entry for every billable part the user described. Build them from the account's price catalog and pass catalogItemId on each. | |
| customerName | No | Customer whose most recent job should receive the line items. Use this when the user names a customer. |