Sales invoice

Does anybody know how Sage can duplicate a sales invoice number? We have 2 different invoices with identical numbers sitting in the same customer account. It should be impossible to do this