Invoice - Square
To create an Invoice in Square, the following properties can be provided. Those marked with * are required.
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 (Find this) |
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 |
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 to view a sample Request and Response