Skip to main content
square.createInvoice creates a draft invoice for an order created using the Orders API.

Example

automations/square-create-invoice.automation.ts

Inputs

Every input accepts a compatible signal. It requires INVOICES_WRITE and ORDERS_WRITE. Use the official CreateInvoice reference for provider field semantics and limits.

Output

Returns the official Square.CreateInvoiceResponse response as a codec-safe object. Square integer money amounts remain bigint values.