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

#   order number and invoice number do not match

##

- **[bigfoot](/forum/user/7488-bigfoot "View bigfoot's Profile")**
- [![bigfoot's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7488-bigfoot "View bigfoot's Profile") Topic Author
- [ Offline](/forum/user/7488-bigfoot)

Less More

- Posts: 255
- Thank you received: 2
-
-

7 years 11 months ago [\#301333](#301333) by [bigfoot](/forum/user/7488-bigfoot "View bigfoot's Profile")  *[order number and invoice number do not match](/forum/35-orders-management/896398-order-number-and-invoice-number-do-not-match#301333 "-- url of the page with the problem -- :   www.beeswaxcandleshop.com  -- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.1.24  I just noticed that my &quot;Invoice number&quot; is not the same as the &quot;order number&quot; (lastest order -- &quot;order number = 10959&quot; &quot;Invoice number = 10915) It does not seem to be a problem - should I reset them somehow?")* was created by *[bigfoot](/forum/user/7488-bigfoot "View bigfoot's Profile")*

-- url of the page with the problem -- : [ www.beeswaxcandleshop.com](https://www.beeswaxcandleshop.com)
-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.9.1
-- PHP version -- : 7.1.24

I just noticed that my "Invoice number" is not the same as the "order number" (lastest order -- "order number = 10959" "Invoice number = 10915)
It does not seem to be a problem - should I reset them somehow?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NjM5OC1vcmRlci1udW1iZXItYW5kLWludm9pY2UtbnVtYmVyLWRvLW5vdC1tYXRjaD90bXBsPW1hcmtkb3du) 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: 86583
- Thank you received: 14324
-
-

7 years 11 months ago [\#301335](#301335) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[order number and invoice number do not match](/forum/35-orders-management/896398-order-number-and-invoice-number-do-not-match#301335 "-- url of the page with the problem -- :   www.beeswaxcandleshop.com  -- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.1.24  I just noticed that my &quot;Invoice number&quot; is not the same as the &quot;order number&quot; (lastest order -- &quot;order number = 10959&quot; &quot;Invoice number = 10915) It does not seem to be a problem - should I reset them somehow?")*

Hi,

That's normal. By default the order_number is based on the order id, an incremental integer incremented for each order created.
And the invoice number is based on the invoice id, an incremental integer incremented for each order confirmed.
So once you have an order which is created but not confirmed, the next confirmed order will have an invoice number based on an invoice id different from the order id.
Now if you want to base both numbers on the order id, you can use the "invoice number format" and the "order number format" options of the HikaShop configuration.

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

- **[bigfoot](/forum/user/7488-bigfoot "View bigfoot's Profile")**
- [![bigfoot's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7488-bigfoot "View bigfoot's Profile") Topic Author
- [ Offline](/forum/user/7488-bigfoot)

Less More

- Posts: 255
- Thank you received: 2
-
-

7 years 11 months ago [\#301477](#301477) by [bigfoot](/forum/user/7488-bigfoot "View bigfoot's Profile")  Replied by *[bigfoot](/forum/user/7488-bigfoot "View bigfoot's Profile")* on topic *[order number and invoice number do not match](/forum/35-orders-management/896398-order-number-and-invoice-number-do-not-match#301477 "-- url of the page with the problem -- :   www.beeswaxcandleshop.com  -- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.1.24  I just noticed that my &quot;Invoice number&quot; is not the same as the &quot;order number&quot; (lastest order -- &quot;order number = 10959&quot; &quot;Invoice number = 10915) It does not seem to be a problem - should I reset them somehow?")*

I would like the invoice number to be same as order number - all see on the config is {id size="4"} - What do I need to add?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NjM5OC1vcmRlci1udW1iZXItYW5kLWludm9pY2UtbnVtYmVyLWRvLW5vdC1tYXRjaD90bXBsPW1hcmtkb3du) 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: 86583
- Thank you received: 14324
-
-

7 years 11 months ago [\#301481](#301481) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[order number and invoice number do not match](/forum/35-orders-management/896398-order-number-and-invoice-number-do-not-match#301481 "-- url of the page with the problem -- :   www.beeswaxcandleshop.com  -- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.1.24  I just noticed that my &quot;Invoice number&quot; is not the same as the &quot;order number&quot; (lastest order -- &quot;order number = 10959&quot; &quot;Invoice number = 10915) It does not seem to be a problem - should I reset them somehow?")*

You can replace that by {order_number} or {order_id size="4"}

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

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