If you want your retainer invoices to have an invoice number sequence that is different from the default sequence, you can set that in Global Settings > Billing under Retainer Invoice #. You can specify a Prefix, Invoice No. and Suffix to use for your retainer invoices. Core increments the Invoice No. for each new retainer invoice while the Prefix and Suffix remain static. Check the Core Help for more details.