Update Purchase Invoice
update_purchase_invoiceUpdate fields of a draft purchase invoice. For confirmed invoices, invalidate them first before updating dates.
Instructions
Update draft purchase-invoice fields. Server-managed fields are rejected; confirmed invoice dates require invalidate_purchase_invoice first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Invoice ID | |
| data | Yes | Object with fields to update. |