Skip to content

"create_invoice" tool always returned "Failed to create invoice" #138

@dangkhoa0303

Description

@dangkhoa0303

Describe the bug

Hi,
I'm integrating Stripe MCP into my agent. I've tested the 'create_invoice' tool and noticed that it always returned an error with the message "Failed to create invoice". I checked the logs and the parameters the agent passed to the MCP tool are as follows:
[
{
"tool_name": "create_invoice",
"Tool_Parameters": {
"customer": "cus_Si6SJRAgyxHHui"
}
}
]

I tested with HTTP request tool and used only the "customer" parameter. Also, in another workflow of mine where the agent used the http request tool to create an invoice, it worked just fine.

I only had this issue when using MCP. Could you please have a look into this?

Thank you very much.

To Reproduce

  1. MCP Tool description: Use this tool to create a Stripe invoice.
  2. Prompt to the agent: Create an invoice for customer with id cus_Si6SJRAgyxHHui.
  3. Agent's response: I attempted to create an invoice for the customer with ID cus_Si6SJRAgyxHHui, but the operation failed with a "Failed to create invoice" error.

Expected behavior

The MCP tool should be executed successfully.

Code snippets

OS

macOS

Language version

n8n MCP Client

Library version

Latest as of 13th August 2025

API version

Latest as of 13th August 2025

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions