You have no favorites... yet!
Use the Library tree on the left to select a Choreo to call from your gateway device.
Use the Library tree on the left to select a Choreo to call from your edge device via the gateway.
Library . Stripe . Invoices . CreateInvoice
Creates a new invoice for a customer.
/*
TembooTask class placeholder
*/
/*
TembooTask header placeholder
*/
Since you've changed your device configuration, you'll need to tell us about this new device.
This feature is in experimental mode - pricing coming soon.
Send your code straight to a GitHub repository.
Your code will be visible by others in your repos. Keep credentials private by saving a Profile or commit code with Placeholder inputs.
The following files will be added to this repo:
You'll be able to edit and share your code from TI's CCS Cloud IDE.
The following will be sent to CCS Cloud:
/*
Your auto-generated code will appear here once you've configured your device above.
*/
/*
A header file containing your Temboo account information will appear here once you've
configured your device above.
*/
/*
Please log in to generate proxy server code for use with the JavaScript SDK.
*/
This Choreo uses your API Key to authenticate your account with Stripe, and creates a new invoice for a customer. This operation pulls in pending invoice items to create an invoice outside of the regular billing cycle. If there are no pending invoice items, an error will be returned, and you'll need to create an invoice item before generating the invoice. The documentation for this Stripe API function can be found here.
The following is a sample of the JSON information returned by this Choreo:
{ "date": 1362518790, "id": "in_1PH808rRi3Ak5O", "period_start": 1360099296, "period_end": 1362518496, "lines": { "data": [ { "id": "ii_0cZEImXfiDSDkD", "object": "line_item", "type": "invoiceitem", "livemode": false, "amount": 100, "currency": "usd", "proration": true, "period": { "start": 1351284759, "end": 1351284759 }, "quantity": null, "plan": null, "description": "Pro-rated credit: unused time on Gold Special plan after 26 Oct 2012" } ], "count": 1, "object": "list", "url": "/v1/invoices/in_1PH808rRi3Ak5O/lines" }, "subtotal": 100, "total": 100, "customer": "cus_1PFSvURee4UrUD", "object": "invoice", "attempted": false, "closed": false, "paid": false, "livemode": false, "attempt_count": 0, "amount_due": 100, "currency": "usd", "starting_balance": 0, "ending_balance": null, "next_payment_attempt": 1362522390, "charge": null, "discount": null }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms