Skip to main content
square.onInvoicePublished subscribes to invoice.published for the selected seller. It requires INVOICES_READ.

Example

automations/square-on-invoice-published.automation.ts

Event

An invoice was published. This also applies to invoices that are published but scheduled to be processed at a later time. The signal resolves to the official Square.InvoicePublishedEvent payload with type narrowed to invoice.published.