#Aarti
1 messages · Page 1 of 1 (latest)
Hi 👋
The Go SDK is pinned to a Stripe API version. What version are you using?
"github.com/stripe/stripe-go/v74"
Okay and have you tried using amount? https://stripe.com/docs/api/invoiceitems/object#invoiceitem_object-amount
yes I did. Amount is returning amount pre-tax.
Okay I'm reviewing the API results and I think this is a feature the Dashboard is doing on it's own. But also the Invoice Item should include tax if the tax behavior for the Price is defined as Inclusive
So there is no direct way for me to get the tax inclusive amount from the API response using go sdk?
Correct, or any SDK. You would need to calculate it on your end (which is likely what the Dashboard is doing).
Got it, thank you