#supreeth_20471

1 messages ยท Page 1 of 1 (latest)

sweet dirgeBOT
patent atlas
#

Hello! Can you share an example request ID with me for your retrieval request?

honest kettle
#

sure ! also is there a better way to get the estimate for the subscription
req_PHdQ10m6ybxyNq

#

the information on the right modal

sweet dirgeBOT
patent atlas
#

๐Ÿ‘ Give me a few minutes to take a look

honest kettle
#

no problem ! also is this the best way to get estimated payments? is there a different api thats a better option to get the estimates?

patent atlas
#

Yes, this API (the retrieve upcoming Invoice API) is what I'd recommend for this

honest kettle
#

gotcha ! but for some reason the taxes dont seem to be working ๐Ÿค” .

patent atlas
honest kettle
#

so when i do that, the response object has an attribute

but im setting the state to 'AZ'. is there a different way to set the location?

patent atlas
#

Let me double check - I believe you're setting it correctly, but it may be that we need more location information

honest kettle
#

maybe the country?

#

setting the postal code worked

#

๐Ÿ™‚

#

thanks for the help ๐Ÿ™‚ seems like you have a busy busy day ๐Ÿ™‚ ๐Ÿฅณ

patent atlas
#

awesome! glad you got it working ๐Ÿ™‚

sweet dirgeBOT
honest kettle
#

hey Again! im still working on this and the api did return a tax object as

    {
      amount: 4316,
      inclusive: true,
      tax_rate: 'txr_1O5C6JCxlassJY00V6NbZTdj',
      taxability_reason: 'standard_rated',
      taxable_amount: 53284
    }
  ],

however when i try to retrive the tax it says no such taxID
here's the req id - req_IhiAOOHCakdGJ7

trail grove
#

hey there, let me take a look at that request

honest kettle
#

๐Ÿง‘โ€๐Ÿณ

#

is it the single quotes thats messing with it somehow?

trail grove
#

Where are you seeing that result/data displayed?

honest kettle
#

thats the response im getting for the
req_qkSX8USFmKlkMA

trail grove
#

Ah gotcha, ok yea the upcoming invoice endpoint is a bit special, it creates some temporary objects that can't actually be accessed

#

This is one such exmaple

honest kettle
#

hmm how can i get the taxrate object for this? ๐Ÿค”

trail grove
#

IT might be possible to get the full object that way

honest kettle
#

this worked like a charm ! we never knew about the expand attribute ! now we have a ton of tech debt to go back and change all our services :sigh: ! than you soo much ty