Home / Servers / Stripe API / post_invoices_invoice
Update an invoice
An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.
Update an invoice Draft invoices are fully editable. Once an invoice is finalized , you can no longer change most of its details, including monetary values and collection_method . For most invoices, this also… [POST /v1/invoices/{invoice}]
Name on the gateway: stripe_api__post_invoices_invoice · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
invoice required | string | invoice parameter |
account_tax_ids | array | The account tax IDs associated with the invoice. Only editable when the… |
application_fee_amount | integer | A fee in cents (or local equivalent) that will be applied to the invoice and… |
auto_advance | boolean | Controls whether Stripe performs automatic collection of the invoice. |
automatic_tax | object | Settings for automatic tax lookup for this invoice. |
automatically_finalizes_at | integer | The time when this invoice should be scheduled to finalize (up to 5 years in… |
collection_method | charge_automatically | send_invoice | Either charge_automatically or send_invoice. This field can be updated only on… |
custom_fields | array | A list of up to 4 custom fields to be displayed on the invoice. If a value for… |
days_until_due | integer | The number of days from which the invoice is created until it is due. Only… |
default_payment_method | string | ID of the default payment method for the invoice. It must belong to the… |
default_source | string | ID of the default payment source for the invoice. It must belong to the… |
default_tax_rates | array | The tax rates that will apply to any line item that does not have tax_rates… |
description | string | An arbitrary string attached to the object. Often useful for displaying to… |
discounts | array | The discounts that will apply to the invoice. Pass an empty string to remove… |
due_date | integer | The date on which payment for this invoice is due. Only valid for invoices… |
effective_at | integer | The date when this invoice is in effect. Same as finalized_at unless… |
expand | array | Specifies which fields in the response should be expanded. |
footer | string | Footer to be displayed on the invoice. |
issuer | object | The connected account that issues the invoice. The invoice is presented with… |
metadata | object | Set of key-value pairs that you can attach to an object. This can be useful… |
number | string | Set the number for this invoice. If no number is present then a number will be… |
on_behalf_of | string | The account (if any) for which the funds of the invoice payment are intended.… |
payment_settings | object | Configuration settings for the PaymentIntent that is generated when the… |
rendering | object | The rendering-related settings that control how invoices render in… |
shipping_cost | object | Settings for the cost of shipping for this invoice. |
shipping_details | object | Shipping details for the invoice. The Invoice PDF will use the… |
statement_descriptor | string | Extra information about a charge for the customer's credit card statement. It… |
transfer_data | object | If specified, the funds from the invoice will be transferred to the… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "stripe_api__post_invoices_invoice",
"arguments": {
"invoice": "…"
}
}Or connect the Stripe API server directly, which lists 606 tools including this one:
claude mcp add --transport http hj-stripe-api https://mcp.hjlabs.in/mcp/stripe-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the update an invoice tool with invoice set to ….