[Skip to main content](#vessel-content)

#   Invoice for vendor and customer

##

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 8 months ago [\#90173](#90173) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#90173 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

Hi,

Yes, HikaMarket 1.1.x have the "commission" mode feature.
You can change the "market mode" to "commission" and do not "pay" anymore your vendors, but create invoices for your commission.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")**
- [![deltafidesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4846.png)](/forum/user/4846-deltafidesign "View deltafidesign's Profile") Topic Author
- [ Offline](/forum/user/4846-deltafidesign)

Less More

- Posts: 272
- Thank you received: 13
-
-

13 years 8 months ago [\#90179](#90179) by [deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")  Replied by *[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#90179 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

Thanks Jerome, I'll test it and let you know!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")**
- [![deltafidesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4846.png)](/forum/user/4846-deltafidesign "View deltafidesign's Profile") Topic Author
- [ Offline](/forum/user/4846-deltafidesign)

Less More

- Posts: 272
- Thank you received: 13
-
-

13 years 8 months ago [\#90298](#90298) by [deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")  Replied by *[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#90298 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

> Jerome wrote: ... but create invoices for your commission

How can I create invoices? Can I use hikashop/hikamarket or should I do them manually?

I'm testing it, but I cannot understand how it works. I can see only the invoice button that generate the invoice for the buyer while I need to generate the invoice for the vendor.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")**
- [![deltafidesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4846.png)](/forum/user/4846-deltafidesign "View deltafidesign's Profile") Topic Author
- [ Offline](/forum/user/4846-deltafidesign)

Less More

- Posts: 272
- Thank you received: 13
-
-

13 years 8 months ago [\#90304](#90304) by [deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")  Replied by *[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#90304 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

UP TO PREVIOUS POST.

I've found how I can generate invoices to vendors. I need to go to vendor list in hikamarket and I see "Orders ready to pay".

Now, how those orders will be payed to vendors? Do they automatically receive their commission over paypal account?

Also, if I want to earn the 30% for every order I must set the commission to 70% for vendors, right? It looks like this now, I must do that to generate an invoice with 30% for vendors.

Now, I click over the vendor link who as got "Orders ready to pay" and I can see the "generate invoice" button on top menu, also I can see all the orders for that vendor, but the "invoices" tab is always empty even after invoices generated.

I click over the "Generate invoice" button and I see the order list, then I select the order and click again over the generate invoice button. Now another page opens... now I can click over the "Invoice" button on top.

Now the popup that allow me to generate the invoice comes out and I can see the invoice, but no vendors data about vendor address, vat etc.. are reported! I must report those data over the invoice.

Is that a bug or something misconfigurated?

Also, suppose that now I close the browser for any reason, and I didn't print the invoice. I need to print that invoice so I come back to admin backend. Do the same long procedure to arrive to that point... but... there are no orders ready to be payed now!!! also the invoice tab for the vendor profile do not report any invoice and I cannot generate the invoice again!

Is that a bug, or something wrong?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[pprle](/forum/user/11949-pprle "View pprle's Profile")**
- [![pprle's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/blue_hikashop_heart.png)](/forum/user/11949-pprle "View pprle's Profile")
- [ Offline](/forum/user/11949-pprle)

Less More

- Posts: 158
- Thank you received: 8
-
-

13 years 8 months ago [\#90319](#90319) by [pprle](/forum/user/11949-pprle "View pprle's Profile")  Replied by *[pprle](/forum/user/11949-pprle "View pprle's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#90319 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

This thread is VERY interesting !
I've been waiting for sooo long for a component handling a marketplace complying with legal obligations and it seems Hikamarket comes very close to succeding in the correct configuration ![B)](/media/kunena/emoticons/1.png "B)")

I will follow this topic and once I see it is fully operational I will immediately buy the complete hika-suite :woohoo:

THANK YOU **deltafidesign** for pushing the features requests and another BIG thank you to the Hika team for being such efficient (and customer orientated) developers.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")**
- [![deltafidesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4846.png)](/forum/user/4846-deltafidesign "View deltafidesign's Profile") Topic Author
- [ Offline](/forum/user/4846-deltafidesign)

Less More

- Posts: 272
- Thank you received: 13
-
-

13 years 8 months ago [\#90323](#90323) by [deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")  Replied by *[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#90323 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

According to this topic, I've just opened another topic to discuss another important question that is partially related to this topic: [ ](http://www.hikashop.com/en/forum/20-market-feature-requests/78415-why-not-hikamarket-works-like-e-bay.html#90320)[ www.hikashop.com/en/forum/20-market-feat...ike-e-bay.html#90320](http://www.hikashop.com/en/forum/20-market-feature-requests/78415-why-not-hikamarket-works-like-e-bay.html#90320)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 8 months ago -  13 years 8 months ago [\#90373](#90373) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#90373 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

Hi,

An customer order which is "valid" (Valid order statuses: confirmed, shipped) could be payed.
In fee mode, you would pay the vendor the full price minus the fees.
In commission mode, you would generate an invoice in order to be paid.

For both, you have to select manually the orders that you want to compile for the vendor (to pay it or to request a payment).

The generation of the Vendor billing address would be fix in the next release like a sum problem in the pay function.
The billing address in the order would use the vendor custom fields which have the same names of the address fields.
* address_name &lt;=&gt; vendor_address_name
* address_street &lt;=&gt; vendor_address_street
* etc...
If you want to fix, I could send you the two modified files by email.

The "invoice" is attached to the admin user and is a classical "sale" for HikaShop. So you can see it in the order listing of HikaShop.
I update the vendor form in order to display the invoices too.

As explain in the other post, HikaShop does not have multiple payment system so HikaMarket could not have yet the "direct vendor payment".
We are working on this "multiple shipping" and "multiple payment" features in HikaShop.

You can check the progression of the next release in the HikaMarket change log
[ www.hikashop.com/en/hikashop/147-hikamarket-change-log.html](http://www.hikashop.com/en/hikashop/147-hikamarket-change-log.html)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Last edit: 13 years 8 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: change-log information

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")**
- [![deltafidesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4846.png)](/forum/user/4846-deltafidesign "View deltafidesign's Profile") Topic Author
- [ Offline](/forum/user/4846-deltafidesign)

Less More

- Posts: 272
- Thank you received: 13
-
-

13 years 8 months ago -  13 years 8 months ago [\#90414](#90414) by [deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")  Replied by *[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#90414 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

> Jerome wrote: In commission mode, you would generate an invoice in order to be paid.
>
> For both, you have to select manually the orders that you want to compile for the vendor (to pay it or to request a payment).

Sorry, I dont understand exactly this. Please help me understand it. In the commission mode I receive the complete payment from the buyer. I earn a commission or fee in this amount and then I must give back to vendor his money. How do I send money to him? Manually? Or when I generate the invoice for him also a "payment" ( meaning I give him his money) is done?

> If you want to fix, I could send you the two modified files by email.

Yes please, I want to test it.

> The "invoice" is attached to the admin user and is a classical "sale" for HikaShop. So you can see it in the order listing of HikaShop.
> I update the vendor form in order to display the invoices too.

Ok, thanks

> As explain in the other post, HikaShop does not have multiple payment system so HikaMarket could not have yet the "direct vendor payment".
> We are working on this "multiple shipping" and "multiple payment" features in HikaShop.
>
> You can check the progression of the next release in the HikaMarket change log
> [ www.hikashop.com/en/hikashop/147-hikamarket-change-log.html](http://www.hikashop.com/en/hikashop/147-hikamarket-change-log.html)
>
> Regards,

Cant wait for it. ![:)](/media/kunena/emoticons/8.png ":)") thanks for the nice job!

Last edit: 13 years 8 months ago by [deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[pprle](/forum/user/11949-pprle "View pprle's Profile")**
- [![pprle's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/blue_hikashop_heart.png)](/forum/user/11949-pprle "View pprle's Profile")
- [ Offline](/forum/user/11949-pprle)

Less More

- Posts: 158
- Thank you received: 8
-
-

13 years 8 months ago -  13 years 8 months ago [\#90441](#90441) by [pprle](/forum/user/11949-pprle "View pprle's Profile")  Replied by *[pprle](/forum/user/11949-pprle "View pprle's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#90441 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

> deltafidesign wrote:
>
> > Jerome wrote: In commission mode, you would generate an invoice in order to be paid.
> > For both, you have to select manually the orders that you want to compile for the vendor (to pay it or to request a payment).
>
> Sorry, I dont understand exactly this. Please help me understand it. In the commission mode I receive the complete payment from the buyer. I earn a commission or fee in this amount and then I must give back to vendor his money. How do I send money to him? Manually? Or when I generate the invoice for him also a "payment" ( meaning I give him his money) is done?

I also would like to understand better...
Payment with Paypal means we have to pay 2 commisions to PayPal, the first time when the customers buys in the shop then a second time when the vendors pays to the marketplace.

What are the options for the vendors to send the fee/commission to the marketplace owner?
Are they the ones available and published for customers or can we select different payment options like bank transfer and once the transfer is done and confirmed there is a possibility to select the payment status for vendor in the Hikamarket admin?

Last edit: 13 years 8 months ago by [pprle](/forum/user/11949-pprle "View pprle's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")**
- [![deltafidesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4846.png)](/forum/user/4846-deltafidesign "View deltafidesign's Profile") Topic Author
- [ Offline](/forum/user/4846-deltafidesign)

Less More

- Posts: 272
- Thank you received: 13
-
-

13 years 8 months ago [\#90442](#90442) by [deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")  Replied by *[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#90442 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

> pprle wrote: What are the options for the vendors to send the fee/commission to the marketplace owner?

I think that vendors shold not have to send something because you took the money for him as marketplace. You must give him is money subtracting your commission. But how? I see only the generate invoice button, dont see a button to send him his money subtracted about the commission.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 8 months ago [\#90445](#90445) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#90445 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

Hi,

I am sorry but it is you who asked for this commission mode...
The default process of HikaMarket is fee mode : The store receive the money and send the money to the vendors afterwards.

Paypal is not the only payment plugin in HikaShop and it is not the only payment system in the world.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")**
- [![deltafidesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4846.png)](/forum/user/4846-deltafidesign "View deltafidesign's Profile") Topic Author
- [ Offline](/forum/user/4846-deltafidesign)

Less More

- Posts: 272
- Thank you received: 13
-
-

13 years 8 months ago [\#90466](#90466) by [deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")  Replied by *[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#90466 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

> Jerome wrote: The default process of HikaMarket is fee mode : The store receive the money and send the money to the vendors afterwards.

That means that in commission mode I cannot send money to vendors like in fee mode? Right?

If yes. Could be possible to implement a feature to send money and generate the invoices at same time for vendors? I mean, when I generate invoices for vendors, can they automatically receive the corrispondent payment (total-commission)?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 8 months ago [\#90767](#90767) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#90767 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

Hi,

I don't understand why so I want to say no.
Transferring 3 times the money is not logical for me so, I don't see why using such commission mode if the fee mode do the same with less transactions.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")**
- [![deltafidesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4846.png)](/forum/user/4846-deltafidesign "View deltafidesign's Profile") Topic Author
- [ Offline](/forum/user/4846-deltafidesign)

Less More

- Posts: 272
- Thank you received: 13
-
-

13 years 8 months ago [\#90802](#90802) by [deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")  Replied by *[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#90802 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

> Jerome wrote: 3 times

Maybe I did not understand how commission mode works actually. Really sorry, please try to explain me better.

At moment I understod that commission mode works like this ( correct me if I am wrong):

Buyer buy from the marketplace
Marketplace receive money (100%): first money transaction.
I can generate an invoice for the vendor for the commission ( example 30%)

Now I must give back to vendor the 70% of the money that marketplace received (100%): isnt that the second transfer of money? Why you speak about 3 times of money transaction? Do I confused something?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 8 months ago [\#91001](#91001) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#91001 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

Hi,

1/ Customer =&gt; The store (full price)
2/ The store =&gt; The vendor (full price)
3/ The vendor =&gt; The store (commission)

I understand if the customer could be directly the vendor it would be easier but for the moment, it is not possible.
As explain in another post in the forum, it would require the "multi payment" system in HikaShop, feature which is currently in development.
After that, HikaMarket would be able to use the "multi payment" (as the "multi shipping") in order to make a payment directly to the final vendor and so, use the commission mode with 2 transactions

1/ The customer =&gt; The vendor (full price)
2/ The vendor =&gt; The store (commission)

But for the moment it's not possible, so the fee mode works like this:

1/ The customer =&gt; The store (full price)
2/ The store =&gt; The vendor (Fees = full price - commission)

The "multi payment" would be great for HikaMarket and the payment to the vendor but it would add a restriction.
A customer won't be able to buy products from several vendor in the same time.
That's why we have another linked development: Paypal adaptive.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")**
- [![deltafidesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4846.png)](/forum/user/4846-deltafidesign "View deltafidesign's Profile") Topic Author
- [ Offline](/forum/user/4846-deltafidesign)

Less More

- Posts: 272
- Thank you received: 13
-
-

13 years 8 months ago -  13 years 8 months ago [\#91004](#91004) by [deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")  Replied by *[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#91004 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

Ok, thanks for explain me. So, in commission mode I can just generate the invoice to vendor ( invoice for commission) and then manually I must send him money (total-commission). Right?

Last edit: 13 years 8 months ago by [deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 8 months ago [\#91099](#91099) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#91099 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

Hi,

I don't know what you want to do.

But in "commission" mode, you generates a invoice which should be paid by the vendor, as you asked in the first page of this thread.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")**
- [![deltafidesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4846.png)](/forum/user/4846-deltafidesign "View deltafidesign's Profile") Topic Author
- [ Offline](/forum/user/4846-deltafidesign)

Less More

- Posts: 272
- Thank you received: 13
-
-

13 years 8 months ago [\#91110](#91110) by [deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")  Replied by *[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#91110 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

> Jerome wrote: Hi,
>
> I don't know what you want to do.
>
> But in "commission" mode, you generates a invoice which should be paid by the vendor, as you asked in the first page of this thread.

I would pay the vendor as I do in "fee mode" but at same time generate an invoice for the vendor and not for the buyer.

This could seems illogical but isn't it. I try to explain why that the only solution till hikamarket cannot work using paypal adaptive plugin and so vendors will be directly payed by customers and store only receive a fee from the vendor.

The correct fiscal path for me should be this: customer pay vendor then vendor pay me. I do not sell, vendor sell, I just earn something from the vendor.

That's impossible at the moment, so the only solution is that customer pay the store, then the store give money to vendor. This is the fee mode. ok.

Than, I must take a fee (commission) from the vendor. This is like if vendor pay me for this service, so I must generate and invoice for the vendor about this fee (commission).

That's why I asked you to implement a feature to generate an invoice when I "pay" the vendor, 'cause in reality I do not pay the vendor, is the vendor that pay me my fee. I just send him his money, I do not pay him! He pays me. So I must generate an invoice to him.

Now, the only solution is to use the fee mode (paypal adaptive not possible yet) and when I "pay" (meaning I send money to vendor minus the fee) I want to generate an invoice to the vendor for the fee he payed me.

Actually the fee mode works fine for me. I just need to generate an invoice to vendor and not to customer. If I generate the invoice for the customer it means that I sell something, but I do not sell something, is the vendor that sell (and he will generate manually an invoice to customer if he wants...) the store do not sell in my case so I just want to send money to vendor taking my fee and generate an invoice to him for the fee.

customer =&gt; pay using the store =&gt; I send money (total price minus fee) to vendor clicking on the "Pay Vendor" button =&gt; store keep a fee: **that's equivalent to vendor pay me** =&gt; I must generate and invoice to vendor for this fee he payed me.

Hope you can "fuse" the fee mode and the commission mode to generate a fee mode that can generate the invoice to vendor.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 8 months ago [\#91136](#91136) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#91136 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

Hi,

You can update the class vendor (administrator/components/com_hikamarket/classes/vendor.php) and add the indicated code. Code:

$status = $shopOrderClass-&gt;save($order); if($status) { $query = 'UPDATE ' . hikamarket::table('shop.order') . ' SET order_vendor_paid = ' . $status . ' WHERE order_id IN ('.$status.','.implode(',',$orders).')'; $this-&gt;db-&gt;setQuery($query); $this-&gt;db-&gt;query(); // Add the code below... // if($feeMode &amp;&amp; $config-&gt;get('fee_generate_invoice', 1)) { unset($order-&gt;order_id); $order-&gt;order_status = $confirmedStatus; $order-&gt;order_type = 'sale'; $order-&gt;history-&gt;history_notified = 1; $order-&gt;order_billing_address_id = $this-&gt;getAddressId($vendor); $order-&gt;cart-&gt;products = array(); foreach($pay_orders as $o) { $product = new stdClass(); $product-&gt;product_id = 0; $product-&gt;order_product_name = JText::sprintf('VENDOR_ORDER_PAYMENT', $o-&gt;order_number, $currencyClass-&gt;format($o-&gt;order_full_price, $o-&gt;order_currency_id)); $product-&gt;order_product_code = '#' . $o-&gt;order_id; $product-&gt;order_product_price = $currencyClass-&gt;convertUniquePrice($o-&gt;order_full_price - $o-&gt;order_vendor_price, $o-&gt;order_currency_id, $vendor-&gt;vendor_currency_id); $product-&gt;order_product_quantity = 1; $product-&gt;order_product_tax = 0; $product-&gt;order_product_options = ''; $order-&gt;cart-&gt;products[] = $product; } $shopOrderClass-&gt;recalculateFullPrice($order, $order-&gt;cart-&gt;products); $shopOrderClass-&gt;save($order); }

It should create an invoice in the same time that the vendor payment has been created.

If the modification right for you, we could insert it into HikaMarket and add an option in the configuration.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")**
- [![deltafidesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4846.png)](/forum/user/4846-deltafidesign "View deltafidesign's Profile") Topic Author
- [ Offline](/forum/user/4846-deltafidesign)

Less More

- Posts: 272
- Thank you received: 13
-
-

13 years 8 months ago [\#91178](#91178) by [deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")  Replied by *[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")* on topic *[Invoice for vendor and customer](/forum/23-market-how-to/76614-invoice-for-vendor-and-customer?start=20#91178 "This is a fiscal problem. Who generate invoice to buyer. I have talk today wih my fiscal consulent (for italy) and he says that I should create an invoice for the vendor for every payment I do to him...")*

I got a blank page when I try to pay the order after added your code. Anyway seems that the order is payed and the invoice for the vendor is generated, but the invoice do not report the fee value that vendor payed me but the amout that I sent to him.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY2MTQtaW52b2ljZS1mb3ItdmVuZG9yLWFuZC1jdXN0b21lcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.497 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
