Is it possible to make invoices and credit notes use the same number range?

Hello,

I would like to know if it’s possible to make invoices and credit notes use the same number range. For example if I generate an invoice with number 2001 and after that I generate a credit note, then I would like the credit note to have number 2002. Is there any way to achieve this? 

Thanks in advance for any suggestions

have you tried to set the number ranges accordingly? 

why would you want to do that anyway?!

I’m working on a plugin that automatically sychronizes Shopwares data to an external ERP. I need the invoice numbers and credit note numbers to use the same number range due to the limitations of this ERP, but I think I already found a solution. Thanks for your reply though!