#bwurtz999

1 messages · Page 1 of 1 (latest)

obtuse fossilBOT
glossy plover
#

Taking a look. Can you tell me what you are expecting the taxes to look like here?

#

And is it working properly for the rest of your invoices?

green saddle
#

I'm just beginning to implement it

#

The shipping address should return a sales tax of 8%

#

it returns 0 right now

#

here's how I create the invoice items:

#
// create the invoice items
        foreach ($selections as $selection) {
            $stripe->invoiceItems->create([
                'customer' => $stripeId,
                'description' => $selection->meal->name,
                'amount' => (isset($selection->meal->price)) ? $selection->meal->price * 100 * $selection->qty : $selection->meal->menu->price * 100 * $selection->qty,
                'currency' => 'usd',
                'invoice' => $invoiceId,
                'tax_behavior' => 'exclusive',
                'tax_code' => 'txcd_40040000',
            ]);
        }
glossy plover
#

Gotcha, thanks for the info. Still checking in to this

green saddle
#

My Taxability says Not registered but I'm in test mode

#

Any suggestions here?

glossy plover
#

I think I will have to consult my colleagues. It does look like we have taxability_reason: 'not_collecting' which is the status when registration is the issue. I thought it wasn't required in test mode too but it may be

green saddle
#

That's annoying

#

If you could ask someone I'd appreciate it

glossy plover
#

Oh there is a separate page in test mode though and it is not asking for real info

#

Can you try adding a test registration there and see if that helps?

green saddle
#

There we go

#

There was no link to that page anywhere in the docs

glossy plover
#

Yeah I will raise feedback that we should add that link

green saddle
#

Thank you!

glossy plover
#

I went down the same path. Saw the registration sites but didn't get a link to that page in the dashboard

green saddle
#

This was a huge help

#

But now it's not collecting tax using the correct address

#

The docs say the shipping address of the invoice will be used to calculate tax if it exists

#

in_1N6f68EraqOFPwljIpQ7XWOO

#

But it's returning 6%

#

That the PA sales tax, but in Philadelphia there is an additional 2%

#

The total tax should be 8%

#

I think it's using the business location, not the shipping address

#

I don't ever want it to use the business location. Our products are always taxed based on where they are delivered

#

The docs say the shipping address is first in the hierarchy:

glossy plover
#

Are you using a real life address or a dummy one? It could be getting tripped up if we can't verify the address

green saddle
#

I'm using a real address

#

Here's the tax rate it created for the invoice item: txr_1N6f68EraqOFPwljjCPBpKbn

#

Region says Pennsylvania

#

I can't see any of the logs related to it

#

But my guess is that it's using our Ambler, PA address to determine this

#

Any ideas here?

obtuse fossilBOT
distant sapphire
#

hey there, reading the backscroll to take a look

green saddle
#

thank you

#

the first issue was solved

distant sapphire
#

Yep -- i see you solved registration in test mode and now looking at the tax calculation and a PHilly-specific city tax add on

green saddle
#

Correct

#

The docs say that the customer shipping address is used for tax calculation if it is available

distant sapphire
#

err

#

wrong message reply. i mean: in_1N6f68EraqOFPwljIpQ7XWOO

#

that you shared earlier

green saddle
#

in_1N6f68EraqOFPwljIpQ7XWOO

#

yes

#

here's the tax rate that was created

#

txr_1N6f68EraqOFPwljjCPBpKbn

#

Any update here?

distant sapphire
#

Not yet, still looking

green saddle
#

Ok

#

Do you need any more info from me?

distant sapphire
#

Nope, i'm just looking into what the calcul;ations were behind this

green saddle
#

Got it

#

Is it pulling from the business address?

distant sapphire
#

Some info i'm finding internally suggests the Phil tax is meant to be based on the business location not the customer, but I'm not a tax professional to determine that

#

I think the best thing to do here is write in with the example invoice calculation and the references to the tax you believe should have been calculated so that we can investigate further

#
green saddle
#

My accounts have told me that we always need to calculate based on delivery location

#

Ugh

distant sapphire
#

I can't say who is correct, but that appears to be how this calculation works currently, so please do contact support with what your accountants believe to be the issue here

green saddle
#

Got it thanks

#

Thank you for investigating. I appreciate it