Skip to main content

How can I set the invoice number in the invoice?

13 years 9 months ago #90318 by deltafidesign
I need to generate a sequential invoice number. I've setted the hikashop parameter for the invoice number format this way: {date format="Y"}/{id size="5"} so I can have: 2013/00001

Anyway when I generate the invoice for the vendor I still see the order number in the invoice instead of this 2013/00001

What's wrong?

Please Log in or Create an account to join the conversation.

13 years 9 months ago #90322 by Jerome
Hi,

The invoice number format for vendors should be set in the vendor configuration itself.
It does not use the general HikaShop option but I have to add an option in order to set a default configuration for the vendors.

Regards,

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

Please Log in or Create an account to join the conversation.

13 years 9 months ago #90325 by deltafidesign
I've just set the vendor invoice number format in the vendor options this way: {date format="Y"}/{id size="5"} but still I see the order number format instead of this in the new invoices I try to generate.

Please Log in or Create an account to join the conversation.

13 years 9 months ago #90328 by Jerome
Hi,

I am sorry but it works fine.


When I change the order status of a created sub order (which does not have any invoice id generated).
The generated invoice id is right:


Regards,

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

Please Log in or Create an account to join the conversation.

13 years 9 months ago #90331 by deltafidesign
In the vendor options I cannot see the "Vendor root category". Something misconfigured in my case?

Please Log in or Create an account to join the conversation.

13 years 9 months ago #90335 by Jerome
Hi,

It's because you don't have the option "Change vendor root category" activated.
There is no link with the invoice generation.

Regards,

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

Please Log in or Create an account to join the conversation.

12 years 9 months ago - 12 years 9 months ago #142380 by mitchie
Hi,
I'm missing something...
I don't understand the difference between "Vendor Invoice Number"and "Invoice Number".

I need just a simple number (1, 2, 3, 4...) restarting from 1 each 1 jan /each year.

I understand that Hikashop now has this feature but I don't see any documentation on how to get it out (I've seen the format {id} but I still get a different style).
Is there a way to get control of the order_invoice_number field in order table?
Where this number is generated in?
Thanks in advance!
Last edit: 12 years 9 months ago by mitchie.

Please Log in or Create an account to join the conversation.

12 years 9 months ago #142382 by mitchie
I've got it.
Changes to invoice number format work only on new invoices as the number is saved formatted..
The following user(s) said Thank You: Jerome

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.072 seconds
Powered by Kunena Forum