#ulrikeskygate

1 messages · Page 1 of 1 (latest)

hard kernelBOT
clear lichen
#

hi! hmm, I suppose it depends, I'm not aware of what specific tax changes a refund would have that you're referring to.

compact dirge
#

The problem is, I also need to show taxes in my backend and create reports for affiliates, so having those synced to Stripe's data would be quite good. When refunding line items directly within the invoice they seem to give me tax amounts as well. Normal refunds do not.

I assume refunds would have an impact on federal taxes due, right?

clear lichen
#

I have no idea sorry, I'm a developer not a tax expert

compact dirge
#

same 😅

#

So there is no "current state of a charge" that I can use? If so, I will try and calculate based on line item refunds and tell my client to only use normal refunds when refunding an entire order. That way I should be able to use the line item's info.

clear lichen
#

I really don't follow sorry, I'd need to look at some exact API fields you're asking about or example code, it's not making sense to me from just words

compact dirge
#

Ok hang on...

clear lichen
#

to me the easiest answer is : as a developer, integrate automatic Stripe Tax in your payment integrations, and use the Tax Reporting product we provide and give that to the people in your company who understand tax

compact dirge
#

For federal tax reports we do that, don't worry. However, my client shares money for products sold with affiliates that helped create the products. Those have some calculations involved. As far as I know taxes are a part of the calculations. As we do not sync affiliates to Stripe, the calculations need to happen on my end.

Regarding the API parts I speak of:
Credit notes (refunded line items) have these fields

...
  "tax_amounts": [],
  "total": 1099,
  "total_excluding_tax": 1099,
...

Refund objects do not.

#

They only have "amount"

clear lichen
#

yeah I think that's because you're "supposed" to use Credit Notes and not direct refunds, that's why CNs exist, to have better structure and reporting than the direct API call to /v1/refunds

compact dirge
#

So never use this button?

clear lichen
#

I think so, not sure

compact dirge
#

I will advise my client to always use the invoice credit notes then to be on the safe side. Should work.

Followup question: Is there a way to retreive these notes?

clear lichen
#

no, those are Dashboard only

compact dirge
#

ok