Prompt

refund tax not recalculating api

Finance / Tax Software1 observationLast seen Nov 3, 2026

Latest observation

Nov 3, 2026OpenAI APIWeb search: off

If your refund tax isn’t recalculating through the API, the issue is usually one of these:

Common causes

  1. Tax is being copied from the original transaction

    • Some APIs reuse the original tax amount unless you explicitly request a recalculation.
  2. Missing tax recalculation flag

    • The refund request may need a parameter like:
      • recalculate_tax=true
      • calculate_tax=true
      • tax_behavior=automatic
    • The exact name depends on the API/provider.
  3. Refund is partial

    • For partial refunds, some systems prorate tax automatically, while others do not unless tax lines are sent in the request.
  4. Refund endpoint does not support automatic tax

    • Some payment APIs only refund the charged amount and don’t recompute tax; you must calculate it yourself.
  5. Jurisdiction or rounding differences

    • Tax may appear “wrong” because the original order and refund use different rounding rules or jurisdiction data.

What to check

  • Whether the API supports automatic tax calculation on refunds
  • Whether you need to pass:
    • refund line items
    • shipping refund details
    • tax inclusive/exclusive flags
  • Whether the refund is:
    • full refund
    • partial refund
    • item-level refund

Example logic

If your system calculates tax separately, your refund should usually do:

  • refund subtotal of returned items
  • recalculate tax based on refunded items only
  • include shipping tax only if shipping is refunded

If you’re using a specific platform

Tell me which API you mean, for example:

  • Stripe
  • Shopify
  • WooCommerce
  • Avalara
  • TaxJar
  • Square
  • custom API

and I can give you the exact request format and why the tax isn’t recalculating.

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (1 observation for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.