Update Invoice Item
Update a floating invoice item.
Only floating items (not yet attached to an invoice) can be updated.
Once an item is swept into an invoice, it becomes immutable.
For priced items, updating quantity will recalculate the amount using
the price's pricing model (tiered, package, per-unit, etc.).
For amount-only items (no price_id), you can update quantity, unit_amount,
or amount directly.
Use cases:
- Update quantity as usage accumulates (e.g., SMS metering)
- Correct description before invoice generation
- Adjust amount for custom pricing
Works for both User and API Key authentication.
Account access is automatically validated via endpoint dependency.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
external_id
account_id
Request
This endpoint expects an object.
quantity
description
unit_amount
amount
Response
Successful Response
id
invoice_id
description
quantity
amount
currency
metadata
created_at
updated_at
price
product_name
proration
period_start
period_end
subscription_id
subscription_item_id
tier_breakdown
Errors
422
Unprocessable Entity Error