Approve Wave invoice
wave_approve_invoiceApprove a draft invoice by posting it to the books and making it sendable via a two-step preview-then-confirm process. No email sent.
Instructions
Approve a DRAFT invoice, which posts it to the books and makes it sendable. It does not email anyone. This is a two-step tool: the first call (confirm omitted) returns a preview and a fingerprint and changes nothing. Show the preview to the user. Only after they agree, call again with confirm: true and the fingerprint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Leave false to get a preview (nothing happens). Set true only after the user has seen the preview and agreed, and pass the preview's fingerprint. | |
| invoice_id | Yes | Invoice ID exactly as returned by Wave (an opaque string) | |
| fingerprint | No | The fingerprint returned by the preview call; required with confirm: true |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| invoice | No | ||
| message | Yes | ||
| preview | No | ||
| fingerprint | No |