Ok, thanks.
So at this point the only solution is to completly manage 100% of money as store, using or not PayPal Adaptive plugin, send moneys to vendors, as I can do now with actual version of Hikamarket also using the plugin you developed to generate an invoice for the vendor when he "pay" me my fee.
Now, I'm trying to configure the system to let it work with my needs. In this case, customer pay, I receive money, then I send money to vendors and I generate an invoice with your plugin for them.
This invoice is not usable for me at the moment. It correctly reports the store address and VAT as I configured in hikashop, then it should also report the address and VAT of the vendor for whom I'm generating that invoice, but nothing is reported.
How can I add vendor address and VAT?
Also the tab for items, prices, total etc., just report the fee value as total including VAT and taxes for shipment and payment meanwhile I need to split this value in:
- quantity and description for every fee with price and number for those fees; (already done)
- discounts;
- the payment costs (example paypal fee); (at moment I don't see it also in the total price but maybe this is 'cause I do my test paying manual)
- the shipping cost;
- total amount where I apply VAT;
- VAT price over this amount;
- total of invoice.
Is that possible?
Also, invoicing number is a big problem in my tests.
Italy, as Spain and maybe other Countries require a unique invoicing numeration sequential starting from the first day of the Year and reset every new year and must be always sequential... 1, 2, 3 etc...
Now you have done this system but in my case I see that for every order an invoice number is generated and so this become a problem 'cause I don't want an invoice for every order but just for the "orders" for vendor that reports my fee.
So, I would generate an invoice only when the vendor "pay" me and not any time a customer buy something, those are not invoices for me and I will hide them to customers in their profile 'cause vendors sell, so vendors must provide invoices to customers, not me. I just need to generate invoices to vendors.
That means that if someone buy something the invoice number 1 for the customer is generated as I see, and this is not an invoice for me 'cause I consider invoices only the ones made for vendors. So when I go generate the invoice for the vendor for the fee he "payed" me this reports the number 2 instead of number 1 and so on. That's not possible in my Country (as Spain or others...).
Any solution for this?
Last but not least, can the PDF plugin just send the invoices that I generate for vendors instead of every kind of invoice generated for customers that in my case are not considered invoices?