Basic Information

appmixer.stripe.core.CreateInvoiceItem

1.0.0

Public

Adds a line item to a customer's draft invoice, or to the customer's pending items that the next invoice picks up. Use either a price (with a quantity) or an amount and currency.

Input Ports

in

FieldTypeDescription
Customer ID text The ID of the customer to bill, e.g. cus_NeZei8imSbMVvi.
Price ID text The ID of a Stripe Price, e.g. price_1MtGUsLkdIwHu7ix1be5Ljaj. Use either a price or an amount.
Quantity number The quantity of the price. Used with Price ID only; defaults to 1.
Amount number The amount in the smallest currency unit, e.g. 1099 for $10.99. A negative amount reduces the amount due. Use either an amount or a price.
Currency text Three-letter ISO currency code, e.g. usd. Required with Amount.
Description text Text shown on the invoice for this item.
Invoice ID text The ID of a draft invoice to add the item to, e.g. in_1MtHbELkdIwHu7ixl4OzzPMv. If empty, the item is added to the customer's next invoice.
Metadata key-value Optional key-value pairs to store on the object, e.g. an order ID from your system.

Output Ports

out

FieldTypeDescription
Invoice Item ID string -
Object string -
Amount integer -
Currency string -
Customer ID string -
Description string,null -
Invoice ID string,null -
Quantity integer -
Date (Unix Timestamp) integer -
Pricing object,null -
Live Mode boolean -
Metadata object -

Full Metadata