Global API
...
Request
Invoice
Invoice - Stripe
2min
to create an invoice in stripe, the following properties can be provided those marked with are required invoice field name data type description processorcustomerid string customer id in the processor id locations docid\ f3cm5zoc auraeoan2xb1 items list subscription docid\ vvvxpqhgd75kbejfxkiwq at least one line item is required to create an invoice processorid 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 if not set, invoices will use the customer’s default source items field name data type description processorpriceid 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 click create docid\ erquqk5x9pxifwucjnaxm to view a sample create invoice request and response