Skip to content

create_withdrawal endpoint ignores destination_id parameter, always defaults to Cash account #62

@RadCod3

Description

@RadCod3

The create_withdrawal function in the LamPyrid MCP server has a bug where the destination_id parameter is ignored. When calling create_withdrawal with a destination_id specified, the transaction is always created with the Cash account (ID: 6) as the destination, regardless of what destination_id is provided.

Workaround: Using destination_name instead of destination_id works correctly and routes to the proper expense account.

Steps to Reproduce:

  1. Call create_withdrawal with destination_id: "173" (or any expense account ID)
  2. Observe that the created transaction has destination_id: "6" (Cash account) instead

Expected Behavior: Transactions should be created with the specified destination_id

Actual Behavior: Transactions default to Cash account (ID: 6) when destination_id is used

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions