Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Invoice And Order Number Rate Topic   - - - - -

 
  • ellermep
  • Member
  • Trial users
  • Join Date: 14-Jan 15
  • 16 posts

Posted 01 May 2015 - 06:19 AM #1

Hello,

When somebody orders in the webshop, the order gets directly an order number.
Is it possible to autogenerate an invoice number when the order is paid for this invoice?
This because when an order is don't get paid it don't get an invoice number.
This makes it easier for the administration.

I hope somebody can help me.

Petra

 
  • Cart-Power
  • Senior Member
  • Authorized Reseller
  • Join Date: 12-May 14
  • 1654 posts

Posted 01 May 2015 - 06:49 AM #2

Hello,

When somebody orders in the webshop, the order gets directly an order number.
Is it possible to autogenerate an invoice number when the order is paid for this invoice?
This because when an order is don't get paid it don't get an invoice number.
This makes it easier for the administration.

I hope somebody can help me.

Petra


Dear Petra,

If you set status order as "Invoice", will it resolve your issue?

Instruction:

1. Go to this page: http://demo.cart-pow...s.manage&type=O
2. Click the "Processed" status.
3. Find "Invoice/Credit memo" field.
4. Choose "Invoice" value.

Now, as soon as order gets status "Processed", Invoice Number will be generated for order.

Please, read also:
http://kb.cs-cart.com/order-status
https://www.cs-cart....er_statuses.htm

I hope it makes sense.
Cart-Power.com / Cart-Power.ru (sales@cart-power.com) offers you:
CS-Cart add-ons :: CS-Cart themes :: CS-Cart development :: CS-Cart license
Работаем с англоязычными и русскоязычными клиентами (work with English-speaking and Russian-speaking customers)

 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4906 posts

Posted 01 May 2015 - 10:58 AM #3

Good info, I never knew this.One question though, how do we set the invoice number that shows in email, it starts at number 1.

John

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • Cart-Power
  • Senior Member
  • Authorized Reseller
  • Join Date: 12-May 14
  • 1654 posts

Posted 02 May 2015 - 12:52 PM #4

Good info, I never knew this.One question though, how do we set the invoice number that shows in email, it starts at number 1.


John,

Find cscart_order_docs table in database (within phpMyAdmin for example) and change last value of doc_id column.

I hope it makes sense.
Cart-Power.com / Cart-Power.ru (sales@cart-power.com) offers you:
CS-Cart add-ons :: CS-Cart themes :: CS-Cart development :: CS-Cart license
Работаем с англоязычными и русскоязычными клиентами (work with English-speaking and Russian-speaking customers)

 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4906 posts

Posted 02 May 2015 - 01:26 PM #5

Done, thanks for info

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • ellermep
  • Member
  • Trial users
  • Join Date: 14-Jan 15
  • 16 posts

Posted 03 May 2015 - 12:54 PM #6

John,

Thanks for your help, this is perfect!

Kind regards,

Petra

 
  • Fotopeerke
  • Newbie
  • Trial users
  • Join Date: 05-Jan 21
  • 3 posts

Posted 05 January 2021 - 09:42 AM #7

Goodmorning. How can I get the generated invoicenumber on my invoice? Is there a code for this?



 
  • Darius
  • Douchebag
  • Members
  • Join Date: 20-Apr 08
  • 3524 posts

Posted 05 January 2021 - 01:40 PM #8

/admin.php?dispatch=statuses.manage&type=O

 

Open for example complete

 

Invoice/Credit memo change to invoice. Once you change order status to complete you will get invoice nr. For example order nr 100, invoice 1.

 

Please note once you do this you cannot go back to -1, only via database..



 
  • Fotopeerke
  • Newbie
  • Trial users
  • Join Date: 05-Jan 21
  • 3 posts

Posted 06 January 2021 - 08:51 AM #9

I found that, but I want (have) to have the invoicenumber printed on the invoice itself, it now only prints the ordernumber..