#batunpc_docs

1 messages ยท Page 1 of 1 (latest)

jade coveBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1458543282261856276

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

tiny maple
#

Hi there. Tax questions can branch into territory which I/my team don't know much about, and which are better handled by tax experts in Stripe support. In this server, we focus on integration/code questions

I'll try to help if I can; what is an ABN?

summer maple
#

Thanks for the context. Who would be the best team or place to ask about ABN validation and testing failure scenarios? I can also follow up there,

ABN stands for Australian Business Number

tiny maple
#

Gotcha! So you passed 111111111 as company.tax_id for an Australian account and what happened? Did validation succeed? What was that account id?

#

I want to make sure to have a proper look before passing you on to support

jade coveBOT
pastel kayak
#

If you can send me your code for how you are testing this, I am happy to test it myself. Because our code only checks for these numbers in very specific places, it is possible that this is a slightly different place than where our test environment is expecting them to be. Or it is possible this is just broken right now, still looking on my side

summer maple
#

When we do use 111111111 for US and CA,, stripe rejects it and asks us to re-enter but when we use the same for AUS, stripe lets us proceed

pastel kayak
#

Ah gotcha, our docs do call out that those test numbers don't work for every country:

The test behavior might change depending on the Connected Account countries and the regulations in those countries.
So it is possible that we just never added the specific mapping for 111111111 + AUS ๐Ÿ™ƒ

summer maple
#

This is how we are passing the ABN during account creation

if (businessProfile.company) {
  input.company = {
    name: businessProfile.businessName,
    phone: stringOrNothing(businessProfile.company.phone),
    tax_id: stringOrNothing(businessProfile.company.taxId),  // <-- ABN here
    registration_number: stringOrNothing(businessProfile.company.registrationNumber),
    structure: ...
  };
}

So ABN is passed as company.tax_id to stripe.accounts.create(). Stripe is accepting 11111111111 as valid for AU when it should fail

pastel kayak
#

I can file a request internally to add this, but unfortunately I can't promise if/when that might get added.

summer maple
pastel kayak
#

Looking but there may not be. I assume you have tested with the 111111112 number as well?

summer maple
#

Thank you. Yes we tried with 111111112

pastel kayak
#

Unfortunately it looks like there aren't any test numbers for failing validation with AU accounts. I will file something internally, but I think we just don't have a way to simulate that failure for AU accounts at the moment.

summer maple
#

thank you for looking into this and appreciate you filing it internally!

pastel kayak
#

Of course, thanks for reporting!