stripe.createInvoice to create a draft Stripe invoice.
Example
automations/stripe-create-invoice.automation.ts
Inputs
Provide the customer and collection settings. Pending invoice items can be included according to Stripe’s invoice creation behavior.idempotencyKey is optional.
Inputs use camel case and accept compatible signals. Automate.ax converts provider fields to Stripe’s wire format. Metadata keys remain unchanged.
Output
Returns the created Stripe Invoice. Output fields use camel case. Stripe decimal fields such asquantityDecimal are lossless strings.