Every sent invoice has a secure hosted page link that never expires. If the link was forwarded to the wrong person or shared somewhere public, revoke it: every link to the invoice sent so far stops working, and the invoice gets a new link for the customer.
Revoke the link
- 1Open Payments > Invoices and click the invoice.
- 2In the Hosted invoice page card, click Revoke link.
- 3Read the message and click Revoke link to confirm, or Cancel to keep the current link.
- 4The new link appears in the card straight away. Click Copy link and send it to the customer if they still need to view or pay the invoice.
What changes
- Old links, in emails already sent, in webhooks or copied by hand, show Invoice unavailable. Their PDF links stop working too.
- Later reminder and overdue emails, the
hosted_invoice_urlandinvoice_pdfwebhook fields, and the invoice in the API carry the new link. - PaymentHooks does not email the new link for you at the moment of the revoke. Send it yourself with Copy link.
- The revoke is recorded in the activity log (Settings > Security, under Activity log) as Invoice link revoked, with who did it.
A revoke cannot be undone. A draft has no link yet, so there is nothing to revoke until the invoice is sent.
Revoking needs permission to manage invoices. Developers can do the same with DELETE /v1/invoices/:id/hosted-link (scope invoices:write), which returns the new link; GET /v1/invoices/:id/hosted-link returns the current one.