Each invoice gets the next number automatically. Payments are recorded once in your earnings — never twice.