#lordstar7_api

1 messages ยท Page 1 of 1 (latest)

sand wedgeBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1255162602456223819

๐Ÿ“ Have more to share? Add details, code, screenshots, videos, etc. below.

south geyser
robust dagger
#

this is the problem

{
    "id": "taxcalc_1PVa5nGEfs7cZv8KOVLO3L6X",
    "object": "tax.calculation",
    "amount_total": 200,
    "currency": "usd",
    "customer": null,
    "customer_details": {
        "address": {
            "city": "Englewood",
            "country": "US",
            "line1": "14810 Grasslands Dr.",
            "line2": null,
            "postal_code": "80112",
            "state": "CO"
        },
        "address_source": "shipping",
        "ip_address": null,
        "tax_ids": [],
        "taxability_override": "none"
    },
    "expires_at": 1727100691,
    "livemode": true,
    "ship_from_details": null,
    "shipping_cost": null,
    "tax_amount_exclusive": 0,
    "tax_amount_inclusive": 0,
    "tax_breakdown": [
        {
            "amount": 0,
            "inclusive": false,
            "tax_rate_details": {
                "country": "US",
                "percentage_decimal": "0.0",
                "state": "CO",
                "tax_type": "sales_tax"
            },
            "taxability_reason": "product_exempt",
            "taxable_amount": 0
        }
    ],
    "tax_date": 1719324691
}
#

the product is exempt, but I don't know how to make it, non_exempt

#

I tried through the Stripe dashboard, but it seems limited..

#

when I send this request to calculate the tax through Stripe, I don't see this request in the logs

paper stump
#

Hi there ๐Ÿ‘‹ jumping in as my teammate needs to step away soon. I'm working on taking a closer look at the request to see if anything stands out to me.

#

Looking at the request, I don't see a Product ID or tax code being provided, so it seems like we're using the default product category from your account here. Does the product code selected in your tax settings align with the product that you're selling in this scenario?
https://dashboard.stripe.com/settings/tax

It looks like you have different default product codes configured for testmode versus livemode. I'd also suggest double checking both and ensure they're both set to the value you're expecting. You can do that by toggling the Test mode toggle near the top of that page.

robust dagger
#

I don't have any products listed in Stripe Product. and the product tax code is txcd_20030000, General - Services

#

the product that I'm selling...

paper stump
#

If that is the correct tax code for your products, and you believe we are calculating tax incorrectly for one or more jurisdictions. Please gather the supporting material from the jurisdiction showing that our calculations are off, and write into our Support team with those details:
https://support.stripe.com/?contact=true

robust dagger
#

I connect people to chefs....

people go onto my app... and look for a menu item...

once they select something, I charge them, and need to collect taxes

then a chef will pick up that order, pick up ingredients and cook it at the customer's home

#

regarding the tax calculation, you might be calculating it correctly. Services in Colorado do not get taxed..

#

so a better question is, which tax_code should I use?

#

how long after I change it should it tax effect?

paper stump
#

That's a question you'll need to work with your tax advisor to answer, we are not permitted to provide legal advice around tax compliance like that.

paper stump
robust dagger
#
{
    "id": "taxcalc_1PVaNhGEfs7cZv8KtOi6COfT",
    "object": "tax.calculation",
    "amount_total": 200,
    "currency": "usd",
    "customer": null,
    "customer_details": {
        "address": {
            "city": "Englewood",
            "country": "US",
            "line1": "14810 Grasslands Dr.",
            "line2": null,
            "postal_code": "80112",
            "state": "CO"
        },
        "address_source": "shipping",
        "ip_address": null,
        "tax_ids": [],
        "taxability_override": "none"
    },
    "expires_at": 1727101801,
    "livemode": true,
    "ship_from_details": null,
    "shipping_cost": null,
    "tax_amount_exclusive": 0,
    "tax_amount_inclusive": 0,
    "tax_breakdown": [
        {
            "amount": 0,
            "inclusive": false,
            "tax_rate_details": {
                "country": "US",
                "percentage_decimal": "0.0",
                "state": "CO",
                "tax_type": "sales_tax"
            },
            "taxability_reason": "product_exempt",
            "taxable_amount": 0
        }
    ],
    "tax_date": 1719325801
}

in test mode I changed the tax_code to something random.. .just to test

but it doesn't seems like it took affect

paper stump
#

You performed that calculation in livemode, it won't use your testmode settings. Can you try again with your testmode key?

robust dagger
#

sure

#

thanks, looks like that did it

#

test in both test and live and they're reacting as I had expected