---
title: Invoice - Stripe
slug: payments/invoice-stripe
description: Learn about the essential properties needed to create an invoice in Stripe, such as processorCustomerId, items, and processorId. Discover optional properties like couponId, dueDate, and invoiceStatus, along with a comprehensive table outlining the propert
docTags: 
createdAt: 2023-06-08T07:43:10.000Z
---

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

### Invoice

| **Field Name**                                    | **Data Type**                                 | **Description**                                                                                                               |
| ------------------------------------------------- | --------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| processorCustomerId<font color="#eb144c">*</font> | String                                        | Customer Id in the Processor [(Find this)](docId\:F3Cm5zoC-AUraeoAn2Xb1)                                                      |
| items<font color="#eb144c">*</font>               | List [(items)](docId\:VvvxPQHGD75KBejFXkiwQ)  | At least one line item is required to create an Invoice.                                                                      |
| processorId<font color="#eb144c">*</font>         | String                                        | Id of the Stripe processor connected to the Salesforce org                                                                    |
| couponId                                          | String                                        | Id of the Coupon to add discount on the Invoice                                                                               |
| dueDate                                           | DateTime                                      | Conditionally required. "dueDate" value is required to create and send the Invoice.                                           |
| invoiceStatus                                     | String                                        | We currently support SEND\_TO\_CUSTOMER.                                                                                      |
| pendingInvoiceItemsBehavior                       | String                                        | One of include, exclude, or include\_and\_require, by default set to exclude the pending items on Customer.                   |
| collectionMethod                                  | String                                        | Either 'send\_invoice' or 'charge\_automatically'. By default 'send\_invoice'.                                                |
| processorPaymentMethodId                          | String                                        | Passed if collectionMethod is charge\_automatically.<br /><br />If not set, invoices will use the customer’s default\_source. |

### Items

| **Field Name**                                 | **Data Type** | **Description**                                                                                                                 |
| ---------------------------------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| processorPriceId<font color="#eb144c">*</font> | String        | Id of the specific Product/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                                                                                                                  |
| invoice                                        | String        | readOnly field                                                                                                                  |
| name                                           | String        | readOnly field                                                                                                                  |
| procesorSubscriptionId                         | String        | readOnly field                                                                                                                  |
| salesforceId                                   | String        | readOnly field                                                                                                                  |
| salesforcePriceId                              | String        | readOnly field                                                                                                                  |
| salesforceSubscriptionId                       | String        | readOnly field                                                                                                                  |
| unitAmount                                     | Decimal       | readOnly field                                                                                                                  |
| unitAmountDecimal                              | Decimal       | readOnly field                                                                                                                  |



&#x20;     Click [here](docId\:ERQUqK5x9PxifwuCjNaXM) to view a sample Create Invoice Request and Response.
