Global API
...
Invoice
Invoice - Square

Create

1min

To create an Invoice in Square, use the action “CreateInvoice” and pass the Invoice data in the RequestJSON under “Invoices.”

Note: You can only create one record at a time.

The following is an example of creating a Square Invoice where we are setting every possible field (See Invoice - Square for all the available fields). The response will return the response from Square, which includes the Invoice ID (internalId) plus the newly created Salesforce Invoice ID (salesforceId).

Apex
JSON