#LucaW
1 messages · Page 1 of 1 (latest)
Hello there
So when you retrieve the balance transaction via the API you want to expand its source: https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-source
That will give you more info
Are you familiar with expansion?
Yes, I expand it with this command right?
stripe balance_transactions retrieve txn_1MraAYK1xWAYzvtrfXAweJYi
--expand=source
Looks like you are using the CLI?
yes
oh in the response i get source=null
"description": "Billing (2023-03-30): Subscriptions",
Ah
Yeah that is because this is an aggregate fee
For your Subscription fee
So it isn't tied to a single transaction
What do you mean by "main fee"?
The API will not return the breakdown of what that aggregate fee entails any further.
i mean i would like to retrieve the fee that has created this transaction
You would basically have to retrieve all the relevant transactions from that day (3/30/2023)
But the API doesn't do that for you currently
Alright, and how do I know the original amount of that transaction? I've several parameters, "amount": -402, "fee": 88, "net": -490,
that means that i got a payment of 4.90€ at 3/30/2023 ?
or the fee taken is 4.90€ ?
This is a different balance transaction that you are looking at, correct?
nope, it's the same
Can you provide the balance transaction ID for me?
txn_1MraAYK1xWAYzvtrfXAweJYi
Ah sorry, you did provide that originally
np
Okay so yeah this fee was for your Subscription fees on 3/30. The amount for Stripe fees was 4.02 but then there is a tax assessed on top of that of 0.88 (see: https://support.stripe.com/questions/taxes-on-stripe-fees-for-italy-based-businesses for info on the tax)
oh alright, so if i've understood, the amount 4.02€ is the total amount of fees of all the subscriptions of day 3/30 ?
and the tax 0.88€ is the total tax collected by stripe for that day
for subscriptions
It is the Billing Fees for Subscriptions (https://stripe.com/pricing#billing-pricing). Not the individual processing fee for the payments, to be clear.
And that's correct for the tax -- it is the tax that is assessed for that fee
Alright thank you!