square.onInvoiceCanceled subscribes to invoice.canceled for the selected seller. It requires INVOICES_READ.
Example
automations/square-on-invoice-canceled.automation.ts
Event
An invoice was canceled. The signal resolves to the officialSquare.InvoiceCanceledEvent payload with type narrowed to invoice.canceled.