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 officialSquare.InvoiceCreatedEvent payload with type narrowed to invoice.created.