#Iconate-application-fee

1 messages · Page 1 of 1 (latest)

brittle sedge
#

Hi there, application_fee param is when you make a charge on connected account, and it's not applicable to Invoice at this moment. For your second question, are you making a direct charge or destination charge?

cold hamlet
#

Hello Jack, yeah this is in a Connect scenario. This is on invoices within a connected account

#

So- not directly related to charges

brittle sedge
cold hamlet
#

Maybe to provide a bit more context, we have a client who wants to collect a percentage on invoices of their connected accounts. So in order to calculate this we need to use the application_fee_amount but, there are numbers of amount fields to use, so i was just looking for suggestions of which field to calculate the percentage against. Considering that invoices have taxes, balances, etc

brittle sedge
#

I see, yup I agree it's complicated.

You can get the orignla prices from the invoice'ls line items (https://stripe.com/docs/api/invoices/line_item#invoice_line_item_object-price-unit_amount) and I'll suggest to sum them up to yeild the base amount and apply the pecentage on it.