myinvois_template_update
Edit a saved line-item preset. When line_items_json is included it is re-parsed and every item re-validated exactly as create does, so an edited template cannot drift into a shape myinvois_invoice_generate would reject. NEXT: myinvois_template_list to find the id.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The myinvois_template id (myinvois_template_list shows them). | |
| name | No | ||
| notes | No | ||
| description | No | ||
| payment_terms | No | ||
| line_items_json | No | ||
| expected_updated_at | No | Optional compare-and-set guard: the updated_at from a prior myinvois_template_list/read. Mismatch returns CONFLICT with the current value. |