suggest invoice change
suggest_invoice_changePropose invoice edits such as adding line items, changing rates, applying discounts, adjusting quantities, or moving due dates for explicit approval without altering the invoice.
Instructions
Record a suggested change. This does not change the invoice. kind add_line requires description, quantity, rateMinor, and unit. kind change_rate requires lineId and rateMinor. kind apply_discount requires discountKind, discountValue, and discountNote. kind move_due_date requires dueOn. kind adjust_quantity requires lineId and quantity. kind revise_late_terms requires graceDays, lateBasis, feeMinor, latePercent, and lateNote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| unit | No | ||
| dueOn | No | ||
| lineId | No | ||
| summary | Yes | ||
| feeMinor | No | ||
| lateNote | No | ||
| quantity | No | ||
| graceDays | No | ||
| invoiceId | Yes | ||
| lateBasis | No | ||
| rateMinor | No | ||
| description | No | ||
| latePercent | No | ||
| discountKind | No | ||
| discountNote | No | ||
| discountValue | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |