Skip to main content
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 official Square.InvoiceCanceledEvent payload with type narrowed to invoice.canceled.