#Iconate-application-fee
1 messages · Page 1 of 1 (latest)
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?
Hello Jack, yeah this is in a Connect scenario. This is on invoices within a connected account
So- not directly related to charges
sorry I was wrong, there's application_fee_amount for invoice https://stripe.com/docs/connect/invoices#collecting-fees
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
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.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.