---
title: Invoice - Square
slug: payments/invoice-square
description: Learn about the essential properties needed to generate an invoice with Square. Find out which fields are mandatory and explore comprehensive information on both the Invoice and Items sections. Discover the data type and description for each field, along 
docTags: 
createdAt: 2023-06-08T07:43:23.000Z
---

To create an Invoice in Square, the following properties can be provided. Those marked with <font color="#eb144c">*</font> are required.

### Invoice

| **Field Name**                                    | **Data Type** | **Description**                                                           |
| ------------------------------------------------- | ------------- | ------------------------------------------------------------------------- |
| dueDate<font color="#eb144c">*</font>             | DateTime      | "dueDate" value is required to create and send the Invoice.               |
| processorId<font color="#eb144c">*</font>         | String        | Id of the Sqaure processor connected to your Salesforce org               |
| processorCustomerId<font color="#eb144c">*</font> | String        | Customer Id in the Processor [(Find this)](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<font color="#eb144c">*</font> | 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<font color="#eb144c">*</font>         | 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


