Home / Servers / Stripe API / post_credit_notes
Create a credit note
An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.
Create a credit note Issue a credit note to adjust the amount of a finalized invoice. A credit note will first reduce the invoice’s amount_remaining (and amount_due ), but not below zero. This amount is indicated by the… [POST /v1/credit_notes]
Name on the gateway: stripe_api__post_credit_notes · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
amount | integer | The integer amount in cents (or local equivalent) representing the total… |
credit_amount | integer | The integer amount in cents (or local equivalent) representing the amount to… |
effective_at | integer | The date when this credit note is in effect. Same as created unless… |
email_type | credit_note | none | Type of email to send to the customer, one of credit_note or none and the… |
expand | array | Specifies which fields in the response should be expanded. |
invoice required | string | ID of the invoice. |
lines | array | Line items that make up the credit note. One of amount, lines, or… |
memo | string | The credit note's memo appears on the credit note PDF. |
metadata | object | Set of key-value pairs that you can attach to an object. This can be useful… |
out_of_band_amount | integer | The integer amount in cents (or local equivalent) representing the amount that… |
reason | duplicate | fraudulent | order_change | product_unsatisfactory | Reason for issuing this credit note, one of duplicate, fraudulent… |
refund_amount | integer | The integer amount in cents (or local equivalent) representing the amount to… |
refunds | array | Refunds to link to this credit note. |
shipping_cost | object | When shipping_cost contains the shipping_rate from the invoice, 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_credit_notes",
"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 create a credit note tool with amount set to ….