Skip to main content
square.onInvoiceCreated subscribes to invoice.created for the selected seller. It requires INVOICES_READ.

Example

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

Event

A draft invoice was created. The signal resolves to the official Square.InvoiceCreatedEvent payload with type narrowed to invoice.created.