Browse: Home /

Namespace: Service

InvoiceService::sendInvoice()

Method: Stripe will automatically send invoices to customers according to your subscriptions settings. However, if you’d like to manually send an invoice to your customer out of the normal schedule, you can do so. When sending invoices that have already been paid, there will be no reference to the payment in the email.

InvoiceService::upcoming()

Method: At any time, you can preview the upcoming invoice for a customer. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice.

InvoiceService::upcomingLines()

Method: When retrieving an upcoming invoice, you’ll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

InvoiceService::update()

Method: Draft invoices are fully editable. Once an invoice is finalized, monetary values, as well as collection_method, become uneditable.

CustomerService::retrieve()

Method: Retrieves the details of an existing customer. You need only supply the unique customer identifier that was returned upon customer creation.