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

#   Wrong invoice number on attached PDF invoices

##

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

Less More

- Posts: 49
- Thank you received: 2
-
-

7 years 3 months ago [\#310221](#310221) by [CorneliaML](/forum/user/55054-corneliaml "View CorneliaML's Profile")  *[Wrong invoice number on attached PDF invoices](/forum/33-customers/898160-wrong-invoice-number-on-attached-pdf-invoices#310221 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.11 -- PHP version -- : 7.2.21  Hi all,  we´re using the &quot;Attach Invoice to the order confirmation e-mail&quot; on our site but there is something wrong with the configuration.  We found out that the system is &quot;printing&quot; the order number instead of the invoice number on the invoice. But it only affects the attached invoices, if the customer logs in to his account on the frontend, all is working fine, see attachments. Also, the office address is wrong, we moved to another city a few weeks ago. On the frontend, all is fine but on the attached invoice it´s wrong.  Many thanks in advance for your help Best regards Torsten")* was created by *[CorneliaML](/forum/user/55054-corneliaml "View CorneliaML's Profile")*

-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.11
-- PHP version -- : 7.2.21

Hi all,

we´re using the "Attach Invoice to the order confirmation e-mail" on our site but there is something wrong with the configuration.

We found out that the system is "printing" the order number instead of the invoice number on the invoice.
But it only affects the attached invoices, if the customer logs in to his account on the frontend, all is working fine, see attachments.
Also, the office address is wrong, we moved to another city a few weeks ago. On the frontend, all is fine but on the attached invoice it´s wrong.

Many thanks in advance for your help
Best regards
Torsten

- [ ![Invoice-Hikashop-Customer-Account.jpg](/forum/attachment/47531) ](/forum/attachment/47531 "...er-Account.jpg") [ ](/forum/attachment/47531?download=1 "...er-Account.jpg")
- [ ![Invoice-Hikashop-Plugin.jpg](/forum/attachment/47532) ](/forum/attachment/47532 "...hop-Plugin.jpg") [ ](/forum/attachment/47532?download=1 "...hop-Plugin.jpg")

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

7 years 2 months ago [\#310240](#310240) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Wrong invoice number on attached PDF invoices](/forum/33-customers/898160-wrong-invoice-number-on-attached-pdf-invoices#310240 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.11 -- PHP version -- : 7.2.21  Hi all,  we´re using the &quot;Attach Invoice to the order confirmation e-mail&quot; on our site but there is something wrong with the configuration.  We found out that the system is &quot;printing&quot; the order number instead of the invoice number on the invoice. But it only affects the attached invoices, if the customer logs in to his account on the frontend, all is working fine, see attachments. Also, the office address is wrong, we moved to another city a few weeks ago. On the frontend, all is fine but on the attached invoice it´s wrong.  Many thanks in advance for your help Best regards Torsten")*

Hi,

The PDF invoice plugin uses the invoice number in the PDF file. However, if the invoice number is not yet available, then it's the order number which is used instead.
So this indicates that you configured the plugin to send the PDF invoice before the invoice number is generated for the order.
So you need to check the "order status" setting of the PDF invoice plugin as well as the order statuses in the menu System&gt;Order statuses. Something must be wrong in the workflow of the order statuses.

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

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

Less More

- Posts: 49
- Thank you received: 2
-
-

7 years 2 months ago [\#310261](#310261) by [CorneliaML](/forum/user/55054-corneliaml "View CorneliaML's Profile")  Replied by *[CorneliaML](/forum/user/55054-corneliaml "View CorneliaML's Profile")* on topic *[Wrong invoice number on attached PDF invoices](/forum/33-customers/898160-wrong-invoice-number-on-attached-pdf-invoices#310261 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.11 -- PHP version -- : 7.2.21  Hi all,  we´re using the &quot;Attach Invoice to the order confirmation e-mail&quot; on our site but there is something wrong with the configuration.  We found out that the system is &quot;printing&quot; the order number instead of the invoice number on the invoice. But it only affects the attached invoices, if the customer logs in to his account on the frontend, all is working fine, see attachments. Also, the office address is wrong, we moved to another city a few weeks ago. On the frontend, all is fine but on the attached invoice it´s wrong.  Many thanks in advance for your help Best regards Torsten")*

Hi Nicolas,

many thanks for the update, I´ve attached a screenshot of the configuration, what should I change that the system is working correctly?

Best regards
Torsten

- [ ![Hikashop-Order-Status.jpg](/forum/attachment/47541) ](/forum/attachment/47541 "...der-Status.jpg") [ ](/forum/attachment/47541?download=1 "...der-Status.jpg")
- [ ![Hikashop-Plugin-Config.jpg](/forum/attachment/47542) ](/forum/attachment/47542 "...gin-Config.jpg") [ ](/forum/attachment/47542?download=1 "...gin-Config.jpg")

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

7 years 2 months ago [\#310265](#310265) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Wrong invoice number on attached PDF invoices](/forum/33-customers/898160-wrong-invoice-number-on-attached-pdf-invoices#310265 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.11 -- PHP version -- : 7.2.21  Hi all,  we´re using the &quot;Attach Invoice to the order confirmation e-mail&quot; on our site but there is something wrong with the configuration.  We found out that the system is &quot;printing&quot; the order number instead of the invoice number on the invoice. But it only affects the attached invoices, if the customer logs in to his account on the frontend, all is working fine, see attachments. Also, the office address is wrong, we moved to another city a few weeks ago. On the frontend, all is fine but on the attached invoice it´s wrong.  Many thanks in advance for your help Best regards Torsten")*

Hi,

In the settings of the plugin, in the "Statuses for email attachment" you should write "confirmed" instead of "created".

The following user(s) said Thank You: [CorneliaML](/forum/user/55054-corneliaml "View CorneliaML's Profile")

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

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

Less More

- Posts: 49
- Thank you received: 2
-
-

7 years 2 months ago [\#310268](#310268) by [CorneliaML](/forum/user/55054-corneliaml "View CorneliaML's Profile")  Replied by *[CorneliaML](/forum/user/55054-corneliaml "View CorneliaML's Profile")* on topic *[Wrong invoice number on attached PDF invoices](/forum/33-customers/898160-wrong-invoice-number-on-attached-pdf-invoices#310268 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.11 -- PHP version -- : 7.2.21  Hi all,  we´re using the &quot;Attach Invoice to the order confirmation e-mail&quot; on our site but there is something wrong with the configuration.  We found out that the system is &quot;printing&quot; the order number instead of the invoice number on the invoice. But it only affects the attached invoices, if the customer logs in to his account on the frontend, all is working fine, see attachments. Also, the office address is wrong, we moved to another city a few weeks ago. On the frontend, all is fine but on the attached invoice it´s wrong.  Many thanks in advance for your help Best regards Torsten")*

Good morning Nicolas,

many thanks, I´ve changed the "Statuses for email attachment" to "confirmed".
Is there anything else I have to change?

Many thanks
Torsten

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

7 years 2 months ago [\#310270](#310270) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Wrong invoice number on attached PDF invoices](/forum/33-customers/898160-wrong-invoice-number-on-attached-pdf-invoices#310270 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.11 -- PHP version -- : 7.2.21  Hi all,  we´re using the &quot;Attach Invoice to the order confirmation e-mail&quot; on our site but there is something wrong with the configuration.  We found out that the system is &quot;printing&quot; the order number instead of the invoice number on the invoice. But it only affects the attached invoices, if the customer logs in to his account on the frontend, all is working fine, see attachments. Also, the office address is wrong, we moved to another city a few weeks ago. On the frontend, all is fine but on the attached invoice it´s wrong.  Many thanks in advance for your help Best regards Torsten")*

Hello,

If you don't have any other behavior to fix, it should be good.

Kind regards,
Mohamed Thelji.

The following user(s) said Thank You: [CorneliaML](/forum/user/55054-corneliaml "View CorneliaML's Profile")

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

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

Less More

- Posts: 49
- Thank you received: 2
-
-

7 years 2 months ago [\#310297](#310297) by [CorneliaML](/forum/user/55054-corneliaml "View CorneliaML's Profile")  Replied by *[CorneliaML](/forum/user/55054-corneliaml "View CorneliaML's Profile")* on topic *[Wrong invoice number on attached PDF invoices](/forum/33-customers/898160-wrong-invoice-number-on-attached-pdf-invoices#310297 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.11 -- PHP version -- : 7.2.21  Hi all,  we´re using the &quot;Attach Invoice to the order confirmation e-mail&quot; on our site but there is something wrong with the configuration.  We found out that the system is &quot;printing&quot; the order number instead of the invoice number on the invoice. But it only affects the attached invoices, if the customer logs in to his account on the frontend, all is working fine, see attachments. Also, the office address is wrong, we moved to another city a few weeks ago. On the frontend, all is fine but on the attached invoice it´s wrong.  Many thanks in advance for your help Best regards Torsten")*

Hi Mohamed,

no, that was the only problem to fix ![;)](/media/kunena/emoticons/24.png ";)")

Best regards
Torsten

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

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