square.cancelInvoice cancels an invoice.
Example
automations/square-cancel-invoice.automation.ts
Inputs
Every input accepts a compatible signal. It requiresINVOICES_WRITE and ORDERS_WRITE.
Use the official CancelInvoice reference for provider field semantics and limits.
Output
Returns the officialSquare.CancelInvoiceResponse response as a codec-safe object. Square integer money amounts remain bigint values.