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

#   synchronise order and invoicenumber

##

- **[Boudewijn](/forum/user/6864-boudewijn "View Boudewijn's Profile")**
- [![Boudewijn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6864.jpg)](/forum/user/6864-boudewijn "View Boudewijn's Profile") Topic Author
- [ Offline](/forum/user/6864-boudewijn)

Less More

- Posts: 252
- Thank you received: 3
-
-
-
- [](http://www.dodowear.nl)
-

12 years 7 months ago [\#152973](#152973) by [Boudewijn](/forum/user/6864-boudewijn "View Boudewijn's Profile")  *[synchronise order and invoicenumber](/forum/35-orders-management/867586-synchronise-order-and-invoicenumber#152973 "-- url of the page with the problem -- :   dodowear.nl  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message Hello, Can you tell me how to synchronise the order and invoicenumber? Now these numbers are not the same, but I would like it to be so. I thought I red somewhere, but I can not find the topic anymore Thanks in advance Boudewijn")* was created by *[Boudewijn](/forum/user/6864-boudewijn "View Boudewijn's Profile")*

-- url of the page with the problem -- : [ dodowear.nl](http://dodowear.nl)
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 2.5
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message
Hello,
Can you tell me how to synchronise the order and invoicenumber?
Now these numbers are not the same, but I would like it to be so.
I thought I red somewhere, but I can not find the topic anymore
Thanks in advance
Boudewijn

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg2NzU4Ni1zeW5jaHJvbmlzZS1vcmRlci1hbmQtaW52b2ljZW51bWJlcj90bXBsPW1hcmtkb3du) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 7 months ago [\#152980](#152980) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[synchronise order and invoicenumber](/forum/35-orders-management/867586-synchronise-order-and-invoicenumber#152980 "-- url of the page with the problem -- :   dodowear.nl  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message Hello, Can you tell me how to synchronise the order and invoicenumber? Now these numbers are not the same, but I would like it to be so. I thought I red somewhere, but I can not find the topic anymore Thanks in advance Boudewijn")*

Hi,

You can try the documentation:
[ www.hikashop.com/support/support/documen...nfig.html#main\_order](http://www.hikashop.com/support/support/documentation/54-hikashop-config.html#main_order)

> **Invoice order statuses:** You can set here the order status which will generate the invoice number. If "created" is listed, you will have the same invoice number than the order number.

Regards,

---

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

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

- **[Boudewijn](/forum/user/6864-boudewijn "View Boudewijn's Profile")**
- [![Boudewijn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6864.jpg)](/forum/user/6864-boudewijn "View Boudewijn's Profile") Topic Author
- [ Offline](/forum/user/6864-boudewijn)

Less More

- Posts: 252
- Thank you received: 3
-
-
-
- [](http://www.dodowear.nl)
-

12 years 7 months ago [\#153028](#153028) by [Boudewijn](/forum/user/6864-boudewijn "View Boudewijn's Profile")  Replied by *[Boudewijn](/forum/user/6864-boudewijn "View Boudewijn's Profile")* on topic *[synchronise order and invoicenumber](/forum/35-orders-management/867586-synchronise-order-and-invoicenumber#153028 "-- url of the page with the problem -- :   dodowear.nl  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message Hello, Can you tell me how to synchronise the order and invoicenumber? Now these numbers are not the same, but I would like it to be so. I thought I red somewhere, but I can not find the topic anymore Thanks in advance Boudewijn")*

Hi Jerome,
Thank for the link.
But what I can not see is how to have the numbers the same
I have set them both to D{id size="5"}-{date format="m"}
Then the order is number for instance D02015-04 and the invoice is D01950-04
But I would like them to be the same
Should set one of them to automatic code?
Regards

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

12 years 7 months ago [\#153034](#153034) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[synchronise order and invoicenumber](/forum/35-orders-management/867586-synchronise-order-and-invoicenumber#153034 "-- url of the page with the problem -- :   dodowear.nl  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message Hello, Can you tell me how to synchronise the order and invoicenumber? Now these numbers are not the same, but I would like it to be so. I thought I red somewhere, but I can not find the topic anymore Thanks in advance Boudewijn")*

Hi,

The issue is that you're using "id" in your format. When you do that, the invoice number will actually use the order_invoice_id and the order number will use the order_id.
If you want the same value to be used in your numbers, you should instead use that format:
D{order_id size="5"}-{date format="m"}

That way, it will use the order_id for both and you'll get the same result

The following user(s) said Thank You: [Boudewijn](/forum/user/6864-boudewijn "View Boudewijn's Profile")

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

- **[Boudewijn](/forum/user/6864-boudewijn "View Boudewijn's Profile")**
- [![Boudewijn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6864.jpg)](/forum/user/6864-boudewijn "View Boudewijn's Profile") Topic Author
- [ Offline](/forum/user/6864-boudewijn)

Less More

- Posts: 252
- Thank you received: 3
-
-
-
- [](http://www.dodowear.nl)
-

12 years 7 months ago [\#153180](#153180) by [Boudewijn](/forum/user/6864-boudewijn "View Boudewijn's Profile")  Replied by *[Boudewijn](/forum/user/6864-boudewijn "View Boudewijn's Profile")* on topic *[synchronise order and invoicenumber](/forum/35-orders-management/867586-synchronise-order-and-invoicenumber#153180 "-- url of the page with the problem -- :   dodowear.nl  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message Hello, Can you tell me how to synchronise the order and invoicenumber? Now these numbers are not the same, but I would like it to be so. I thought I red somewhere, but I can not find the topic anymore Thanks in advance Boudewijn")*

That was an easy one.
Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg2NzU4Ni1zeW5jaHJvbmlzZS1vcmRlci1hbmQtaW52b2ljZW51bWJlcj90bXBsPW1hcmtkb3du) 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?

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

Time to create page: 0.073 seconds

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