#evgeny_02452

1 messages ยท Page 1 of 1 (latest)

minor kelpBOT
buoyant heart
#

Hello, can you clarify a bit more about how you are currently splitting your funds and what you would like to change about that?

#

If you are looking to change which account is the merchant of record, the on_behalf_of parameter will change that, I can send other docs on what that parameter does if that sounds like what you are going for https://stripe.com/docs/api/payment_intents/object#payment_intent_object-on_behalf_of

rustic cliff
#

We make separate invoices in accounting for payments from EU and from others. because we pay tax 20% for EU and don't do it for other countries.

#

It is ideal that payouts from payers from Europe come with the same payout numbers, for example EU123

#

And others with OTHER123

buoyant heart
#

When you say payout number, are you talking the statement descriptor on your bank statement, or something else?

rustic cliff
#

We are paid for our services by different people.
the payout from Stripe comes in one amount per period, which contains all the amounts from customers.
Our accounting department makes a separate invoice for each client payment, for clients from the EU we make invoices with VAT, for clients from other countries without VAT.
Can you suggest any solution to simplify our work?

#

Stripe is integrated into our website.

buoyant heart
#

Oh I see, apologies I misunderstood your question. Which country is your account based in? And are these payments in the same currencies or are there different currencies between your EU and non-EU countries?

#

Payouts can be separated by currency but beyond that I don't think they can be separated like this. In that case there are ways to find out the breakdown of payments in each payout and I am happy to provide more info on that if you are interested

rustic cliff
#

Austria, only in Eur

#

Yes, please

#

Can you generate invoices automatically?

#

May be there is posibility to generate and send us customized invoice which content will depend on payers origin?

buoyant heart
#

I don't think there is an automated way to get a breakdown like that but will check in to it

rustic cliff
#

We can see all details of every payout in our Stripe account.

#

And please explain - how this function can be trigered? Where from?

buoyant heart
#

That is code that can be called from our server-side libraries. So your server could make that call whenever it wants to. It might make sense to have a webhook listener listening for payout.paid events and making that call from there https://stripe.com/docs/api/events/types#event_types-payout.paid

#

Actually, taking a step back. That call that I linked to will only work for automatic payouts. Do you know if your account is using automatic payouts or if you trigger your payouts manually?

rustic cliff
#

We have automatic payouts

minor kelpBOT
buoyant heart
#

Gotcha, so if you do that list balance transactions call and expand data.source.customer you should be able to get back the info that you have for the Customers on these payments which will include address and country. So you should be able to go through those payments and tally up how much are from users from each country https://stripe.com/docs/api/customers/object#customer_object-address-country

rustic cliff
#

Thank you. As i iunderstood: we can make requests to your servers webhook from our website and process every new payout making invoices based on data that we can retrieve throuth API?

hexed hearth
#

๐Ÿ‘‹ stepping in here as Pompey needs to step away

#

So there are two ways to handle this. You can either inspect the transactions that make up a Payout after it has been created and then understand the breakdown for that Payout of where those transactions came from and thus how much of the Payout amount was from each location -- this is what Pompey was suggesting.

The alternative here would be to create a couple Connected Accounts where you transfer funds to those Connected Accounts based on the location of the payment and then have each Connected Account pay out separetely. Then you will receive individual payouts based on location of the payments.

rustic cliff
#

In any way - we need auto-generated invoices.... so can we do it as i described?

#

Please clarify - can transfers to these two accounts be made automatically?