POST
stripe_invoice_items_update.py
from charter.packs import stripe
result = await stripe.invoice_items_update.ainvoke({"invoiceitem": ...})
Path parameters
| Field | Type | Description |
|---|---|---|
invoiceitem * | string | The ID of the invoice line to update. |
Body
| Field | Type | Description |
|---|---|---|
amount | integer | The amount in the smallest currency unit. Negative reduces what the invoice is due. Cents, not dollars: $15.00 is 1500, and 15 puts fifteen cents on the invoice. Multiply a decimal amount by 100. |
description | string | What this line says on the invoice. |
quantity | integer | How many units this line bills. ≥ 0 |
pricing | InvoiceItemPricing | An existing price to bill, named as pricing.price. |
priceData | InvoiceItemPriceData | A price created inline for this line. |
period | InvoiceItemPeriod | The service period this line covers. |
discountable | boolean | Whether invoice-level discounts apply to this line. |
discounts | SubscriptionDiscount[] | Coupons or promotion codes applying to this line alone. |
metadata | map of string | Set of key-value pairs attached to the line. |
taxBehavior | PriceTaxBehavior | Whether the amount includes tax. Once set to inclusive or exclusive it cannot be changed. |
taxCode | string | The tax code for what is being billed. |