#zarilya

1 messages · Page 1 of 1 (latest)

sonic solarBOT
bleak vine
#

Hello! Which API are you using for this?

plush perch
#

We are not yet using an API. we previously used a downloadable tax database. but that company went under so we need to find a new solution.

#

Tax API for Sales Tax, GST, and VAT under stripe was one we were considering.

bleak vine
plush perch
#

ok, yeah. I am not seeing a breakdown. only a whole amount. is there somewhere I can see all possible Response body line items?

bleak vine
#

Can you share an example tax calculation object you're looking at so I can see how you're calling the API?

plush perch
#

I am just looking at the link you sent and the examples.

bleak vine
#

The link I sent to you would have a full breakdown - the tax_breakdown attribute on the calculations API would be an array that breaks down each individual tax amount and the tax_breakdown.tax_rate_details would have details about the specific tax jurisdiction

plush perch
#

Right, that reads "State, county, province, or region."

#

we need city, state, county, and district

bleak vine
#

Gotcha - your question is specifically about whether the district-level tax is supported

sonic solarBOT
plush perch
#

well. yes. and also if I can actually see all the rates. in the test console, it still just shows the total

#

I guess i am doing something wrong in the api explorer, I cant get it to even give me rates

#

{
"id"
:
"taxcalc_1Of6MHJaLkJu8S7grbFUoRw0"
,
"object"
:
"tax.calculation"
,
"amount_total"
:
1799
,
"currency"
:
"usd"
,
"customer"
:
null
,
"customer_details"
:
{… 5 items}
,
"expires_at"
:
1706990137
,
"line_items"
:
{… 5 items}
,
"livemode"
:
false
,
"shipping_cost"
:
{… 4 items}
,
"tax_amount_exclusive"
:
0
,
"tax_amount_inclusive"
:
0
,
"tax_breakdown": [
"0": {
"amount"
:
0
,
"inclusive"
:
false
,
"tax_rate_details": {
"country"
:
"US"
,
"percentage_decimal"
:
"0.0"
,
"state"
:
"TN"
,
"tax_type"
:
"sales_tax"
,
},
"taxability_reason"
:
"not_collecting"
,
"taxable_amount"
:
0
,
},
"1"
:
{… 5 items}
,
],
"tax_date"
:
1706817337
,
}

patent wren
#

That object appears to be truncated, but you say its missing something you expect?

plush perch
#

its not even giving me any rates

#

somewhere it appears to be defaulting to not collected? i dont know if that has anything to do with it

#

I think I see the problem. Can stripe only cacluate tax where a company is set up to be allowed to collect tax?

patent wren
#

Yes, you need to be registered for that region

plush perch
#

yeah ok. so that wont work for us. our website isnt actually collecting anything

patent wren
plush perch
#

it is a rent to own website. all we do is build the contract for our users

#

We have users all over the US and canada.

#

We dont actually take any payments. all we need to do is gather the correct rates based on where the customer is and calculate thier monthly payments with tax.

#

and then show the total tax on the bill of sale so that the trailer can be registered at the state the customer resides

patent wren
#

Hmm let me see what i can find

#

Ok, yes, the tax calculation api requires registration as well

#

I can share feedback that you'd like to be able to use this for calculation without registrations, but for now that's not how the API behaves

plush perch
#

Here is what a bill of sale looks like for us