Make sure which type used when should invoice pay