Regenerate invoice link
regenerate_invoice_linkReplaces the public link of a document with a new one: the old link stops working at once for anyone who has it, and the new one lets anyone who holds it read the document. Not for a voided document. Needs confirm: true; without it the result is a preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | true performs the action. Without it (or with any value other than the boolean true) nothing changes and the result is a preview of the effects. | |
| invoiceId | Yes | The invoice or estimate. |