Add a changed line
change_order_add_lineAdd one line to a draft change order: added or removed with a quantity and a unit price in minor units, or changed with the old and the new quantity and price, each with a reason and a date. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The day the change was asked for, YYYY-MM-DD. Default the change order's date | |
| kind | Yes | added for new work, removed for work taken out, changed for a line whose quantity or price moves | |
| note | No | ||
| reason | Yes | Why, in the client's words if you have them, e.g. Client asked for a second page after the kickoff | |
| quantity | Yes | added or removed: how many. changed: the NEW quantity | |
| tax_rate | No | VAT percent for this line, overriding the shared profile's default | |
| description | Yes | The line as it reads on the quote or work order, e.g. Website audit | |
| change_order | Yes | The change order id, e.g. CO-2026-0001, or its title when only one carries it | |
| was_quantity | No | changed only: the quantity before the change | |
| unit_price_minor | Yes | added or removed: the unit price in whole minor units. changed: the NEW unit price. 45000 is EUR 450.00 | |
| was_unit_price_minor | No | changed only: the unit price before the change, in whole minor units |