Home / Servers / Stripe API / post_tax_transactions_create_from_calculation

Create a Transaction from a Calculation

An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.

Create a Transaction from a Calculation Creates a Tax Transaction from a calculation, if that calculation hasn’t expired. Calculations expire after 90 days. [POST /v1/tax/transactions/create_from_calculation]

Name on the gateway: stripe_api__post_tax_transactions_create_from_calculation · may change things.

Parameters

NameTypeDescription
calculation requiredstringTax Calculation ID to be used as input when creating the transaction.
expandarraySpecifies which fields in the response should be expanded.
metadataobjectSet of key-value pairs that you can attach to an object. This can be useful…
posted_atintegerThe Unix timestamp representing when the tax liability is assumed or reduced…
reference requiredstringA custom order or sale identifier, such as 'myOrder_123'. Must be unique…

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:

call_tool arguments
{
  "name": "stripe_api__post_tax_transactions_create_from_calculation",
  "arguments": {
    "calculation": "…",
    "reference": "…"
  }
}

Or connect the Stripe API server directly, which lists 606 tools including this one:

Run in your terminal
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 transaction from a calculation tool with calculation set to ….

More from Stripe API