Global API
...
Request
Invoice
Invoice - Square
2min
to create an invoice in square, the following properties can be provided those marked with are required invoice field name data type description duedate datetime "duedate" value is required to create and send the invoice processorid string id of the sqaure processor connected to your salesforce org processorcustomerid string customer id in the processor id locations docid\ f3cm5zoc auraeoan2xb1 collectionmethod string readonly field locationid string if not specified, square gets the primary location id processorinvoiceid string id of the created invoice in the sqaure processor processorpaymentmethodid string due date must be current date to charge the customer immediately salesforceid string readonly field salesforceaccount string id of the account in salesforce org to which the customer is matched salesforcecontact string id of the account in salesforce org to which the customer is matched items field name data type description processorpriceid string id of the specific product's price that is getting added to the invoice note this is the id in the processor not in salesforce quantity integer the quantity of products for which invoice to be created amount decimal readonly field chargecurrency string readonly field description string readonly field salesforcepriceid string salesforce id of the specific product's price that is getting added to the invoice status string readonly field unitamount decimal readonly field unitamountdecimal decimal readonly field click on create docid\ aexvvh 5jqn9ekhufz4av to view a sample request and response