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

#   Invoice Due Date - Is this possible?

##

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

Less More

- Posts: 52
- Thank you received: 2
-
-

13 years 1 month ago [\#129055](#129055) by [wynchcote](/forum/user/7009-wynchcote "View wynchcote's Profile")  *[Invoice Due Date - Is this possible?](/forum/35-orders-management/863030-invoice-due-date-is-this-possible#129055 "-- url of the page with the problem -- : n/a -- HikaShop version -- : latest -- Joomla version -- : 2.5.14 -- PHP version -- : 5+ -- Browser(s) name and version -- : n/a -- Error-message(debug-mod must be tuned on) -- : n/a  Customer wants to show BOTH  Invoice date (already created in Invoice Views) + Due date i.e. date when payment due (in say 30 days)  I can edit the View to add a footer like 'Payment Terms: pyament due within 28 days of the Invoice Date'.  Is it however possible for a Due date setting to be added to a future release?  I thought this would be already possible in Business edition with the recent anebling of payment at a date later than the invoice date (with drop down list in Customer's Order screen - front end).  Many thanks, Ken :)")* was created by *[wynchcote](/forum/user/7009-wynchcote "View wynchcote's Profile")*

-- url of the page with the problem -- : n/a
-- HikaShop version -- : latest
-- Joomla version -- : 2.5.14
-- PHP version -- : 5+
-- Browser(s) name and version -- : n/a
-- Error-message(debug-mod must be tuned on) -- : n/a

Customer wants to show BOTH

Invoice date (already created in Invoice Views)
+
Due date i.e. date when payment due (in say 30 days)

I can edit the View to add a footer like 'Payment Terms: pyament due within 28 days of the Invoice Date'.

Is it however possible for a Due date setting to be added to a future release?

I thought this would be already possible in Business edition with the recent anebling of payment at a date later than the invoice date (with drop down list in Customer's Order screen - front end).

Many thanks, Ken ![:)](/media/kunena/emoticons/3.png ":)")

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

13 years 1 month ago [\#129082](#129082) 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 *[Invoice Due Date - Is this possible?](/forum/35-orders-management/863030-invoice-due-date-is-this-possible#129082 "-- url of the page with the problem -- : n/a -- HikaShop version -- : latest -- Joomla version -- : 2.5.14 -- PHP version -- : 5+ -- Browser(s) name and version -- : n/a -- Error-message(debug-mod must be tuned on) -- : n/a  Customer wants to show BOTH  Invoice date (already created in Invoice Views) + Due date i.e. date when payment due (in say 30 days)  I can edit the View to add a footer like 'Payment Terms: pyament due within 28 days of the Invoice Date'.  Is it however possible for a Due date setting to be added to a future release?  I thought this would be already possible in Business edition with the recent anebling of payment at a date later than the invoice date (with drop down list in Customer's Order screen - front end).  Many thanks, Ken :)")*

Hi,

Sure you can edit the **invoice** file of the **order** view of your **back-end template** through the "*Hikashop-&gt;Display-&gt;Views*" page.
But can you give me more information about how you'll set the "payment due date" ?

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

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

Less More

- Posts: 52
- Thank you received: 2
-
-

13 years 1 month ago [\#129090](#129090) by [wynchcote](/forum/user/7009-wynchcote "View wynchcote's Profile")  Replied by *[wynchcote](/forum/user/7009-wynchcote "View wynchcote's Profile")* on topic *[Invoice Due Date - Is this possible?](/forum/35-orders-management/863030-invoice-due-date-is-this-possible#129090 "-- url of the page with the problem -- : n/a -- HikaShop version -- : latest -- Joomla version -- : 2.5.14 -- PHP version -- : 5+ -- Browser(s) name and version -- : n/a -- Error-message(debug-mod must be tuned on) -- : n/a  Customer wants to show BOTH  Invoice date (already created in Invoice Views) + Due date i.e. date when payment due (in say 30 days)  I can edit the View to add a footer like 'Payment Terms: pyament due within 28 days of the Invoice Date'.  Is it however possible for a Due date setting to be added to a future release?  I thought this would be already possible in Business edition with the recent anebling of payment at a date later than the invoice date (with drop down list in Customer's Order screen - front end).  Many thanks, Ken :)")*

Hi Mohammed,

That's the problem this end - when the order is raised the date applied is automated in HikaShop.

I would envisage a field in HikaShop Configuration that would enable Admin to pre-set a Due Date i.e. +30 days.

In the UK 30 days is standard for offering credit.

Of course - automated invoices have the generic date applied.

Some Admins may want a different generic period of credit, for example 7 days.

I have read that invoices are by default generated when payment has been made (and so a Due Date would not apply).

However, Admins can I believe choose for invoice to be generated at the order point and (in Business edition) customers can choose to pay at a later date.

The Due Date would then apply.

If payment is not made by the Due Date then the Admin can chase.

In WHMCS automated emails can be triggered when Admin edit settings reagrding sending reminders (for example, 7 days before or after Due Date).

If you were interested in adding the Due Date feature to HikaShop then I would suggest taking a look at the WHMCS Demo.

--

In short - I would like to display a Due Date under the Invoice Date as a REMINDER that payment has not yet been made (assuming invoice triggered prior to payment).

--

What do you think?

Ken ![:)](/media/kunena/emoticons/3.png ":)")

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

13 years 1 month ago -  13 years 1 month ago [\#129198](#129198) 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 *[Invoice Due Date - Is this possible?](/forum/35-orders-management/863030-invoice-due-date-is-this-possible#129198 "-- url of the page with the problem -- : n/a -- HikaShop version -- : latest -- Joomla version -- : 2.5.14 -- PHP version -- : 5+ -- Browser(s) name and version -- : n/a -- Error-message(debug-mod must be tuned on) -- : n/a  Customer wants to show BOTH  Invoice date (already created in Invoice Views) + Due date i.e. date when payment due (in say 30 days)  I can edit the View to add a footer like 'Payment Terms: pyament due within 28 days of the Invoice Date'.  Is it however possible for a Due date setting to be added to a future release?  I thought this would be already possible in Business edition with the recent anebling of payment at a date later than the invoice date (with drop down list in Customer's Order screen - front end).  Many thanks, Ken :)")*

I think that this can be done by editing the code of the **invoice** file and directly add your payment due date, also will this due date depend on the payment method ? or it will just be a date that the Admin will have to define ? if that's the case you can use a "translation word" so that you'll easily be able to change the value of this due date through your language file ("*Hikashop-&gt;System-&gt;Confguration-&gt;Languages-&gt;YourLanguageFile*").
For example you can add this line through your **invoice** file : Code:

echo JText::_('MY_PAYMENT_DUE_DATE');

And add this line through your translation file : Code:

MY_PAYMENT_DUE_DATE="my due date : 20"

Last edit: 13 years 1 month ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

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

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

Less More

- Posts: 52
- Thank you received: 2
-
-

13 years 1 month ago [\#129203](#129203) by [wynchcote](/forum/user/7009-wynchcote "View wynchcote's Profile")  Replied by *[wynchcote](/forum/user/7009-wynchcote "View wynchcote's Profile")* on topic *[Invoice Due Date - Is this possible?](/forum/35-orders-management/863030-invoice-due-date-is-this-possible#129203 "-- url of the page with the problem -- : n/a -- HikaShop version -- : latest -- Joomla version -- : 2.5.14 -- PHP version -- : 5+ -- Browser(s) name and version -- : n/a -- Error-message(debug-mod must be tuned on) -- : n/a  Customer wants to show BOTH  Invoice date (already created in Invoice Views) + Due date i.e. date when payment due (in say 30 days)  I can edit the View to add a footer like 'Payment Terms: pyament due within 28 days of the Invoice Date'.  Is it however possible for a Due date setting to be added to a future release?  I thought this would be already possible in Business edition with the recent anebling of payment at a date later than the invoice date (with drop down list in Customer's Order screen - front end).  Many thanks, Ken :)")*

Thanks for this suggestion Mohamed.

"my due date : 20"

Would the above add 200 days to the Invoice Date?

If so then this would be ideal.

--
Related Issue - Pro Forma Invoice
--

I have seen some discussion in the forum on Pro Forma Invoice vs Invoice i.e. pro forma invoice issued at time of order prior to payment and invoice (legal document) issued after payment has been received.

I understand a lot of companies in UK use this approach.

I know the tile of the Invoice could be changed to Pro Forma Invoice, and an Invoice be issued outside of HikaShop.

Can you suggest a link to a soluton to this matter?

Or should I start a new thread.

Thanks, Ken ![:)](/media/kunena/emoticons/3.png ":)")

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 1 month ago -  13 years 1 month ago [\#129397](#129397) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Invoice Due Date - Is this possible?](/forum/35-orders-management/863030-invoice-due-date-is-this-possible#129397 "-- url of the page with the problem -- : n/a -- HikaShop version -- : latest -- Joomla version -- : 2.5.14 -- PHP version -- : 5+ -- Browser(s) name and version -- : n/a -- Error-message(debug-mod must be tuned on) -- : n/a  Customer wants to show BOTH  Invoice date (already created in Invoice Views) + Due date i.e. date when payment due (in say 30 days)  I can edit the View to add a footer like 'Payment Terms: pyament due within 28 days of the Invoice Date'.  Is it however possible for a Due date setting to be added to a future release?  I thought this would be already possible in Business edition with the recent anebling of payment at a date later than the invoice date (with drop down list in Customer's Order screen - front end).  Many thanks, Ken :)")*

Hi,

The above will not add 20 days to the invoice date, it will just display a message.
To add automatically 20 days, you have to edit the view "Order / invoice" via the menu Display &gt; Views and add a line like: Code:

&lt;?php $dueDate = (int)$this-&gt;element-&gt;order_created + 1728000; echo JText::sprintf('MY_PAYMENT_DUE_DATE').': '.hikashop_getDate($dueDate ,'%d %B %Y ');?&gt;&lt;br/&gt;

1728000 is equivalent to 20 days in timestamp.

PS: this is just display, there is no automatic management of the due date.

Regarding the Pro Forma Invoice, I have not knowledge about a link to solve this matter.

Last edit: 13 years 1 month ago by [Xavier](/forum/user/4105-xavier "View Xavier's Profile").

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

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

Less More

- Posts: 52
- Thank you received: 2
-
-

13 years 1 month ago [\#129489](#129489) by [wynchcote](/forum/user/7009-wynchcote "View wynchcote's Profile")  Replied by *[wynchcote](/forum/user/7009-wynchcote "View wynchcote's Profile")* on topic *[Invoice Due Date - Is this possible?](/forum/35-orders-management/863030-invoice-due-date-is-this-possible#129489 "-- url of the page with the problem -- : n/a -- HikaShop version -- : latest -- Joomla version -- : 2.5.14 -- PHP version -- : 5+ -- Browser(s) name and version -- : n/a -- Error-message(debug-mod must be tuned on) -- : n/a  Customer wants to show BOTH  Invoice date (already created in Invoice Views) + Due date i.e. date when payment due (in say 30 days)  I can edit the View to add a footer like 'Payment Terms: pyament due within 28 days of the Invoice Date'.  Is it however possible for a Due date setting to be added to a future release?  I thought this would be already possible in Business edition with the recent anebling of payment at a date later than the invoice date (with drop down list in Customer's Order screen - front end).  Many thanks, Ken :)")*

Thanks for the suggested solution Xavier.

I could not however see your link.

Ken ![:)](/media/kunena/emoticons/3.png ":)")

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 1 month ago [\#129522](#129522) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Invoice Due Date - Is this possible?](/forum/35-orders-management/863030-invoice-due-date-is-this-possible#129522 "-- url of the page with the problem -- : n/a -- HikaShop version -- : latest -- Joomla version -- : 2.5.14 -- PHP version -- : 5+ -- Browser(s) name and version -- : n/a -- Error-message(debug-mod must be tuned on) -- : n/a  Customer wants to show BOTH  Invoice date (already created in Invoice Views) + Due date i.e. date when payment due (in say 30 days)  I can edit the View to add a footer like 'Payment Terms: pyament due within 28 days of the Invoice Date'.  Is it however possible for a Due date setting to be added to a future release?  I thought this would be already possible in Business edition with the recent anebling of payment at a date later than the invoice date (with drop down list in Customer's Order screen - front end).  Many thanks, Ken :)")*

Oups, I forgot the "not" which change all the sense.

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

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