#mxa-invoices

1 messages · Page 1 of 1 (latest)

dusky matrix
#

hi there, do you have the invoice id which you can share for me to take a closer look?

austere seal
#

Yes! I created a few but here's the latest in_1Kir0DFwkwys1BgvsWK1d2Sj

dusky matrix
#

when you create an Invoice using on_behalf_of : account X, the Invoice still exists on Account A

#

if you do invoice.list() for Account A, you should be able to find that invoice

austere seal
#

Is there any way I can create the Invoice for the Connected Account X? So that when I do an invoice.list() for Account X it'll show up there?

My scenario is everybody is a customer of Account A, and there are many connected accounts on the platform, they'll be able to create invoices for customers, as well as see the invoices they've created

dusky matrix
austere seal
#

This is really helpful, thank you! A few follow up questions

  • Customer M has a PaymentMethod with Account A, it's then cloned to Connected Account X
  1. If I make an invoice for Account X, is it okay that the Customer M only exists within Account A?
  2. Can I still take an application fee for Account A?
  3. What happens if Customer M deletes the payment method? (Will that change be reproduced within Account A and Account X?)
dusky matrix
#
  1. when you clone the PaymentMethod, you'll also have to create a new Customer to attach the PaymentMethod to on account X
  2. Yes, you can still take an application fee
  3. No, it wouldn't automatically be replicated. You have to implement your own logic to keep the Customers between accounts in sync