If the Sales order number and the Posted Invoice number is the same after posting, that usually means that in Sales and Receivables Setup, the "Order Nos" number series and the "Invoice Nos" number series are the same. Check Sales & Receivables setup and use separate number series for each.
Ron