#Dade Lu-connected-invoices
1 messages ยท Page 1 of 1 (latest)
Hi ๐ can you elaborate?
Pasting additional context in this thread:
Hi, we have under our main account a number of connected express accounts. And we use fees for them. Is it possible to see only this invoices ?
@last parcel sorry, but I'm still not clear what invoices you're referring to. You can use the Stripe-Account header to make API calls as though they were coming from the connected account. Is this what you're looking for?
https://stripe.com/docs/api/connected_accounts
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
we create subscription & invoices directly for the connected accounts; and we will charge this connected accounts a percentage fee
is it possible to see a invoice with only the fees from the connected account to the main account?
hey there, just stepping in for @light yew here
our idea is to create an 'document' (just for documentation purposes) for each connected account where to list all the feeds for one month for example. Wondering if this is not already possible without looping all the fees
OK you're asking about a couple of different things here
You can list invoices on a connected account, yes
You would do this with the List Invoices endpoint and sending the account of interest in the stripe-account header, the same way you do to create those invoices
But you want to look at fees associated with those invoices?
What do you mean by listed separately, exactly?
If you mean to list invoices from some account and filter to only those with application fee amounts for your platform, that is not possible
You'd need to list invoices and filter that attribute in the result data:
https://stripe.com/docs/api/invoices/object#invoice_object-application_fee_amount
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
i was looking for a way for /v1/application_fees/(connected_account_ID) without filtering
so het all the fees for the pair account-connected_account
but i guess there is no way without BE filtering
Hmm thats possible, let me see
Ok so you cannot filter the list request per account on that endpoint, you'd need to do that yourself.
And this wouldnt give you straightforward access to the underlying invoices, but if you only use invoices for these fees then it might be sufficient to list those and aggregate the results per account
https://stripe.com/docs/api/application_fees/object#application_fee_object-account
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
got it
thank you