#dashydasher-tax

1 messages · Page 1 of 1 (latest)

stray sluice
#

@winged stream don't think so! I would say you have three options

  • if you're using certain languages/libraries of ours in your integration, the library might already have the enum values(e.g. in Typescript https://github.com/stripe/stripe-node/blob/master/types/2020-08-27/TaxIds.d.ts#L57)
  • just hard code it in your system for the customer geographies you expect to use
  • you could pass an intentionally bad value for type and parse the error message (since it returns Invalid type: must be one of ae_trn, au_abn, .... but I don't think that's anything anyone should do